]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
Inline the is_hardlink_safe() and is_regular_file() functions.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Feb 2018 01:03:44 +0000 (20:03 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Feb 2018 19:10:28 +0000 (14:10 -0500)
These two functions were only called in one place, and they were
called right after one another. Both functions merely peek the stat
structure for a file descriptor, so it's easier to stat the thing once
and then just inline the two checks rather than setup/teardown
everything twice.


No differences found