From: Michael Orlitzky Date: Mon, 26 Feb 2018 02:35:02 +0000 (-0500) Subject: Allow apply_default_acl() to take a stat pointer for its path argument. X-Git-Tag: v0.1.0~22 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=df929bebddb9852c8e50481169e2fd1b5a01faf6;hp=df929bebddb9852c8e50481169e2fd1b5a01faf6;p=apply-default-acl.git Allow apply_default_acl() to take a stat pointer for its path argument. When operating recursively, nftw has already called stat() on the path that it feeds to apply_default_acl(). Rather than re-stat it, we can now pass a stat struct pointer in as the second argument to apply_default_acl(). When not operating recursively, you just pass it NULL instead, and apply_default_acl() will do the fstat as before. ---