commit | cbdf35bcb833bfd00f0925d7a9a33a21f41ea582 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Fri Oct 24 00:14:36 2014 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Fri Oct 24 00:14:36 2014 +0200 |
tree | fe76fb2eeaaf2b56d4961840caf97719567c6a88 | |
parent | c771d683a62e5d36bc46036f5c07f4f5bb7dda61 [diff] |
vfs: export check_sticky() It's already duplicated in btrfs and about to be used in overlayfs too. Move the sticky bit check to an inline helper and call the out-of-line helper only in the unlikly case of the sticky bit being set. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>