Skip to contentSkip to conversation

remove incorrect comment in do_emergency_remount

PATCH New Christoph Hellwig 1 participant 1 message Feb 1, 2010 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove incorrect comment in do_emergency_remount

fs/super.c +0 -2
Index: linux-2.6/fs/super.c
===================================================================
@@ -618,8 +618,6 @@ static void do_emergency_remount(struct 
 		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);