Skip to content

Commit 156c757

Browse files
Christoph Hellwigaxboe
authored andcommitted
vboxsf: don't use the source name in the bdi name
Simplify the bdi name to mirror what we are doing elsewhere, and drop them name in favor of just using a number. This avoids a potentially very long bdi name. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 0b80f98 commit 156c757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/vboxsf/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static int vboxsf_fill_super(struct super_block *sb, struct fs_context *fc)
164164
goto fail_free;
165165
}
166166

167-
err = super_setup_bdi_name(sb, "vboxsf-%s.%d", fc->source, sbi->bdi_id);
167+
err = super_setup_bdi_name(sb, "vboxsf-%d", sbi->bdi_id);
168168
if (err)
169169
goto fail_free;
170170

0 commit comments

Comments
 (0)