diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-04 14:47:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-07 16:45:47 +0200 |
commit | 156c75737255b8db0aa887abcb66b709856cf453 (patch) | |
tree | de98c9f3964f33de461784e6c07d6e79adfd5ea7 /fs/vboxsf | |
parent | iocost: protect iocg->abs_vdebt with iocg->waitq.lock (diff) | |
download | linux-156c75737255b8db0aa887abcb66b709856cf453.tar.xz linux-156c75737255b8db0aa887abcb66b709856cf453.zip |
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 <hch@lst.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/vboxsf')
-rw-r--r-- | fs/vboxsf/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |