diff options
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
458 | spin_unlock(&f->f_lock); | 458 | spin_unlock(&f->f_lock); |
459 | if (file_check_writeable(f) != 0) | 459 | if (file_check_writeable(f) != 0) |
460 | continue; | 460 | continue; |
461 | __mnt_drop_write(f->f_path.mnt); | ||
461 | file_release_write(f); | 462 | file_release_write(f); |
462 | mnt_drop_write_file(f); | ||
463 | } while_file_list_for_each_entry; | 463 | } while_file_list_for_each_entry; |
464 | lg_global_unlock(&files_lglock); | 464 | lg_global_unlock(&files_lglock); |
465 | } | 465 | } |