OSDN Git Service

it's SB_BORN, not MS_BORN...
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 May 2018 19:09:41 +0000 (15:09 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 May 2018 19:09:41 +0000 (15:09 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c

index 5fa9a8d..c9e34cd 100644 (file)
@@ -938,7 +938,7 @@ void emergency_remount(void)
 static void do_thaw_all_callback(struct super_block *sb)
 {
        down_write(&sb->s_umount);
-       if (sb->s_root && sb->s_flags & MS_BORN) {
+       if (sb->s_root && sb->s_flags & SB_BORN) {
                emergency_thaw_bdev(sb);
                thaw_super_locked(sb);
        } else {