X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Ffile_table.c;h=de9e9653d611f57c9a1ae6a0f8c34ed25cd961c0;hb=7163a993840f0906d4ce1e3f193575c99dac21e1;hp=a72bf9ddd0d2b56781bc84b591f45ff4e4627a93;hpb=6257c5740e9f876f4097f6c67ec69576c23abb82;p=firefly-linux-kernel-4.4.55.git 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); }