From: Christoph Hellwig Date: Mon, 4 May 2020 12:47:53 +0000 (+0200) Subject: vboxsf: don't use the source name in the bdi name X-Git-Tag: v5.7-rc5~5^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=156c75737255b8db0aa887abcb66b709856cf453;p=users%2Fwilly%2Fxarray.git 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 Reviewed-by: Hans de Goede Signed-off-by: Jens Axboe --- diff --git a/fs/vboxsf/super.c b/fs/vboxsf/super.c index 675e26989376..8fe03b4a0d2b 100644 --- a/fs/vboxsf/super.c +++ b/fs/vboxsf/super.c @@ -164,7 +164,7 @@ static int vboxsf_fill_super(struct super_block *sb, struct fs_context *fc) goto fail_free; } - err = super_setup_bdi_name(sb, "vboxsf-%s.%d", fc->source, sbi->bdi_id); + err = super_setup_bdi_name(sb, "vboxsf-%d", sbi->bdi_id); if (err) goto fail_free;