Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
[deliverable/linux.git] / fs / inode.c
index ca337014ae29481307e098c76beec1b74ac494ab..f643be565df8e403a0fc807c4d1af554004c0d62 100644 (file)
@@ -1408,7 +1408,7 @@ EXPORT_SYMBOL(touch_atime);
  *     for writeback.  Note that this function is meant exclusively for
  *     usage in the file write path of filesystems, and filesystems may
  *     choose to explicitly ignore update via this function with the
- *     S_NOCTIME inode flag, e.g. for network filesystem where these
+ *     S_NOCMTIME inode flag, e.g. for network filesystem where these
  *     timestamps are handled by the server.
  */
 
@@ -1422,7 +1422,7 @@ void file_update_time(struct file *file)
        if (IS_NOCMTIME(inode))
                return;
 
-       err = mnt_want_write(file->f_path.mnt);
+       err = mnt_want_write_file(file);
        if (err)
                return;
 
This page took 0.027813 seconds and 5 git commands to generate.