mirror of https://gitee.com/openkylin/linux.git
remove incorrect comment in do_emergency_remount
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
13e3c5e5b9
commit
a135aa2cd7
|
@ -631,8 +631,6 @@ static void do_emergency_remount(struct work_struct *work)
|
|||
down_write(&sb->s_umount);
|
||||
if (sb->s_root && sb->s_bdev && !(sb->s_flags & MS_RDONLY)) {
|
||||
/*
|
||||
* ->remount_fs needs lock_kernel().
|
||||
*
|
||||
* What lock protects sb->s_flags??
|
||||
*/
|
||||
do_remount_sb(sb, MS_RDONLY, NULL, 1);
|
||||
|
|
Loading…
Reference in New Issue