diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c index ca337014ae29..a88baebf77cf 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1422,7 +1422,7 @@ void file_update_time(struct file *file) | |||
1422 | if (IS_NOCMTIME(inode)) | 1422 | if (IS_NOCMTIME(inode)) |
1423 | return; | 1423 | return; |
1424 | 1424 | ||
1425 | err = mnt_want_write(file->f_path.mnt); | 1425 | err = mnt_want_write_file(file); |
1426 | if (err) | 1426 | if (err) |
1427 | return; | 1427 | return; |
1428 | 1428 | ||