Message ID | 20210331120910.2223493-1-yi.zhang@huawei.com |
---|---|
State | Awaiting Upstream |
Headers | show |
Series | [v2] ext4: do not set SB_ACTIVE in ext4_orphan_cleanup() | expand |
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index b9693680463a..2a33c53b57d8 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -3023,9 +3023,6 @@ static void ext4_orphan_cleanup(struct super_block *sb, sb->s_flags &= ~SB_RDONLY; } #ifdef CONFIG_QUOTA - /* Needed for iput() to work correctly and not trash data */ - sb->s_flags |= SB_ACTIVE; - /* * Turn on quotas which were not enabled for read-only mounts if * filesystem has quota feature, so that they are updated correctly.