diff options
Diffstat (limited to 'fs/erofs/super.c')
-rw-r--r-- | fs/erofs/super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/erofs/super.c b/fs/erofs/super.c index a67c19dc0620..046708440366 100644 --- a/fs/erofs/super.c +++ b/fs/erofs/super.c @@ -658,6 +658,10 @@ static int erofs_fc_fill_super(struct super_block *sb, struct fs_context *fc) sbi->opt.fsid, true); if (err) return err; + + err = super_setup_bdi(sb); + if (err) + return err; } else { if (!sb_set_blocksize(sb, EROFS_BLKSIZ)) { erofs_err(sb, "failed to set erofs blksize"); |