diff options
| author | Christoph Hellwig <[email protected]> | 2019-01-21 15:23:26 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2019-02-01 06:55:45 +0000 |
| commit | 801e523796004a3aaeae7dfc83fe81888f055287 (patch) | |
| tree | 80b51d4031a1aec71459f67043377228cf1a62be /security/selinux/hooks.c | |
| parent | orangefs: don't reinitialize result_mask in ->getattr (diff) | |
| download | kernel-801e523796004a3aaeae7dfc83fe81888f055287.tar.gz kernel-801e523796004a3aaeae7dfc83fe81888f055287.zip | |
fs: move generic stat response attr handling to vfs_getattr_nosec
generic_fillattr is an optional helper that isn't used by all file
systems, move handling purely based on inode flags to vfs_getattr_nosec,
which is common code.
This fixes setting this flag for file systems not using generic_fillattr
like xfs.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
