summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-01-16 10:11:58 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-02-04 09:31:11 -0800
commit1f8459099f66cde4c9716ecc43b5b65c28f61eb4 (patch)
tree522fea0becafb6c10346926ba2478cc735fd7680 /ipc
parenta2580f14db35ba693c10d5044c2d7163f05026a8 (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 'ipc')
0 files changed, 0 insertions, 0 deletions