author: Jan Kara <jack@suse.cz> 2012-12-05 14:40:14 +0100
committer: Al Viro <viro@zeniv.linux.org.uk> 2012-12-20 13:57:36 -0500
commit: 72651cac884b1e285fa8e8314b10e9f1b8458802
parent: 39e3c9553f34381a1b664c27b0c696a266a5735e
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/file_table.c b/fs/file_table.c
index a72bf9ddd0d2..de9e9653d611 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -458,8 +458,8 @@ void mark_files_ro(struct super_block *sb)
spin_unlock(&f->f_lock);
if (file_check_writeable(f) != 0)
continue;
+ __mnt_drop_write(f->f_path.mnt);
file_release_write(f);
- mnt_drop_write_file(f);
} while_file_list_for_each_entry;
lg_global_unlock(&files_lglock);
}