summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-04-12 12:24:49 +0200
committerJens Axboe <axboe@fb.com>2017-04-20 12:09:55 -0600
commit7c4cc30024946dae9530cd6dc0d8d4eb40fca173 (patch)
treeb50f82b17ac02ce2b082a26c4ec7a73dd720db0e /fs/super.c
parent2e82b84c01d9438d86079980e22e036eee71e754 (diff)
downloadlinux-7c4cc30024946dae9530cd6dc0d8d4eb40fca173.tar.bz2
bdi: Drop 'parent' argument from bdi_register[_va]()
Drop 'parent' argument of bdi_register() and bdi_register_va(). It is always NULL. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index 8444d26926ef..adb0c0de428c 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -1272,7 +1272,7 @@ int super_setup_bdi_name(struct super_block *sb, char *fmt, ...)
bdi->name = sb->s_type->name;
va_start(args, fmt);
- err = bdi_register_va(bdi, NULL, fmt, args);
+ err = bdi_register_va(bdi, fmt, args);
va_end(args);
if (err) {
bdi_put(bdi);