diff options
-rw-r--r-- | fs/ext4/super.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index fcd7b24c6df3..e3b35f26d5fe 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -2828,14 +2828,6 @@ no_journal: | |||
2828 | goto failed_mount4; | 2828 | goto failed_mount4; |
2829 | }; | 2829 | }; |
2830 | 2830 | ||
2831 | /* | ||
2832 | * akpm: core read_super() calls in here with the superblock locked. | ||
2833 | * That deadlocks, because orphan cleanup needs to lock the superblock | ||
2834 | * in numerous places. Here we just pop the lock - it's relatively | ||
2835 | * harmless, because we are now ready to accept write_super() requests, | ||
2836 | * and aviro says that's the only reason for hanging onto the | ||
2837 | * superblock lock. | ||
2838 | */ | ||
2839 | EXT4_SB(sb)->s_mount_state |= EXT4_ORPHAN_FS; | 2831 | EXT4_SB(sb)->s_mount_state |= EXT4_ORPHAN_FS; |
2840 | ext4_orphan_cleanup(sb, es); | 2832 | ext4_orphan_cleanup(sb, es); |
2841 | EXT4_SB(sb)->s_mount_state &= ~EXT4_ORPHAN_FS; | 2833 | EXT4_SB(sb)->s_mount_state &= ~EXT4_ORPHAN_FS; |