X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Finode.c;h=f643be565df8e403a0fc807c4d1af554004c0d62;hb=7fd5b632db00ebf8a26b5e86d6f01e501466e5ef;hp=ca337014ae29481307e098c76beec1b74ac494ab;hpb=a525890cb6a2949b644d212ae290b658967d3919;p=pandora-kernel.git diff --git a/fs/inode.c b/fs/inode.c index ca337014ae29..f643be565df8 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -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;