summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index add051e4ad30..5ae8784efe02 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1462,11 +1462,7 @@ writethrough:
task_io_account_write(count);
- err = file_remove_privs(file);
- if (err)
- goto out;
-
- err = file_update_time(file);
+ err = kiocb_modified(iocb);
if (err)
goto out;