VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Jan Kara <jack@suse.cz> 2012-06-12 16:20:35 +0200 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-07-31 09:40:38 +0400 commit: eb04c28288bb0098d0e75d81ba2a575239de71d8 parent: 5accdf82ba25cacefd6c1867f1704beb4d244cdd
Commit Summary:
fs: Add freezing handling to mnt_want_write() / mnt_drop_write()
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 775cbabd4fa5..006c85ca06eb 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1660,11 +1660,11 @@ int file_update_time(struct file *file)
 		return 0;
 
 	/* Finally allowed to write? Takes lock. */
-	if (mnt_want_write_file(file))
+	if (__mnt_want_write_file(file))
 		return 0;
 
 	ret = update_time(inode, &now, sync_it);
-	mnt_drop_write_file(file);
+	__mnt_drop_write_file(file);
 
 	return ret;
 }