Commit a135aa2c authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro

remove incorrect comment in do_emergency_remount

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 13e3c5e5
...@@ -631,8 +631,6 @@ static void do_emergency_remount(struct work_struct *work) ...@@ -631,8 +631,6 @@ static void do_emergency_remount(struct work_struct *work)
down_write(&sb->s_umount); down_write(&sb->s_umount);
if (sb->s_root && sb->s_bdev && !(sb->s_flags & MS_RDONLY)) { if (sb->s_root && sb->s_bdev && !(sb->s_flags & MS_RDONLY)) {
/* /*
* ->remount_fs needs lock_kernel().
*
* What lock protects sb->s_flags?? * What lock protects sb->s_flags??
*/ */
do_remount_sb(sb, MS_RDONLY, NULL, 1); do_remount_sb(sb, MS_RDONLY, NULL, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment