]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use file_modified() helper
authorAmir Goldstein <amir73il@gmail.com>
Wed, 5 Jun 2019 15:04:50 +0000 (08:04 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 9 Jun 2019 17:06:19 +0000 (10:06 -0700)
commitc83cf2e0c64ff1723631f931cd8c21ef550be518
treecc850f4ba8fc05e5e0c11e8c03521b6b108bd1ff
parent87f07b4810e5c833d4db61bf0665d1a39223f123
xfs: use file_modified() helper

Note that by using the helper, the order of calling file_remove_privs()
after file_update_mtime() in xfs_file_aio_write_checks() has changed.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_file.c