diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-01-16 10:11:58 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-04 09:31:11 -0800 |
commit | 1f8459099f66cde4c9716ecc43b5b65c28f61eb4 (patch) | |
tree | 522fea0becafb6c10346926ba2478cc735fd7680 /fs/ecryptfs | |
parent | a2580f14db35ba693c10d5044c2d7163f05026a8 (diff) |
xfs: use generic fillattr to reduce redundant codescrub-fixes_2019-02-04
Refactor xfs_vn_getattr to use generic_fillattr to fill out parts of the
kstat structure instead of open-coding the same pieces. This eliminates
redundant code and fixes a bug where we fail to set the AUTOMOUNT
attribute. Obviously, we retain all the xfs-specific parts.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions