diff options
author | Ira Weiny <ira.weiny@intel.com> | 2020-04-30 17:41:38 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-30 06:13:20 +0300 |
commit | e4f9ba20d3b8c2b86ec71f326882e1a3c4e47953 (patch) | |
tree | ed75890460d0c27f3fba6011d737e3c00e1a390d /fs/xfs/xfs_iwalk.c | |
parent | b5df62843273f914c2ac7be8e33931a414df15d7 (diff) | |
download | linux-e4f9ba20d3b8c2b86ec71f326882e1a3c4e47953.tar.xz |
fs/xfs: Update xfs_ioctl_setattr_dax_invalidate()
Because of the separation of FS_XFLAG_DAX from S_DAX and the delayed
setting of S_DAX, data invalidation no longer needs to happen when
FS_XFLAG_DAX is changed.
Change xfs_ioctl_setattr_dax_invalidate() to be
xfs_ioctl_dax_check_set_cache() and alter the code to reflect the new
functionality.
Furthermore, we no longer need the locking so we remove the join_flags
logic.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_iwalk.c')
0 files changed, 0 insertions, 0 deletions