Amir Goldstein
e38f7f53c3
vfs: introduce file_modified() helper
...
The combination of file_remove_privs() and file_update_mtime() is
quite common in filesystem ->write_iter() methods.
Modelled after the helper file_accessed(), introduce file_modified()
and use it from generic_remap_file_range_prep().
Note that the order of calling file_remove_privs() before
file_update_mtime() in the helper was matched to the more common order by
filesystems and not the current order in generic_remap_file_range_prep().
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 >
2019-06-09 10:06:19 -07:00
..
2019-06-05 17:37:04 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-05-31 14:27:27 -07:00
2019-06-05 17:37:18 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:12 +02:00
2019-06-05 17:37:18 +02:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:29:22 -07:00
2019-06-05 17:37:18 +02:00
2019-05-30 11:29:22 -07:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:15 +02:00
2019-05-30 11:29:53 -07:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:09 +02:00
2019-06-05 17:37:09 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:30:29 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:37:06 +02:00
2019-05-30 11:29:55 -07:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:29:53 -07:00
2019-05-30 11:29:53 -07:00
2019-06-07 01:29:39 -06:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:37 +02:00
2019-06-03 12:02:03 +02:00
2019-05-30 11:29:53 -07:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:37:17 +02:00
2019-05-30 11:29:21 -07:00
2019-05-30 11:29:21 -07:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-09 10:06:19 -07:00
2019-06-01 15:51:32 -07:00
2019-05-30 11:29:53 -07:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:38 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:05 +02:00
2019-05-30 11:29:55 -07:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:16 +02:00
2019-05-30 11:29:22 -07:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:36:38 +02:00
2019-06-01 15:51:31 -07:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:17 +02:00
2019-06-01 15:51:31 -07:00
2019-06-05 17:36:38 +02:00
2019-06-07 13:09:06 -07:00
2019-06-05 17:36:38 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:30:29 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:29:52 -07:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-05-30 11:29:54 -07:00
2019-06-05 17:37:04 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:17 +02:00
2019-06-03 13:26:20 -07:00
2019-05-30 11:29:21 -07:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:06 +02:00
2019-05-30 11:29:52 -07:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:04 +02:00
2019-06-03 10:44:21 +02:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:29:22 -07:00
2019-06-05 17:37:09 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:17 +02:00
2019-05-30 11:29:21 -07:00
2019-06-05 17:37:09 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:04 +02:00
2019-06-05 17:30:29 +02:00
2019-06-05 17:30:27 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:37:05 +02:00
2019-06-05 17:37:07 +02:00