diff options
| author | Jan Kara <jack@suse.cz> | 2017-04-12 06:24:49 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2017-04-20 14:09:55 -0400 |
| commit | 7c4cc30024946dae9530cd6dc0d8d4eb40fca173 (patch) | |
| tree | b50f82b17ac02ce2b082a26c4ec7a73dd720db0e /include/linux/backing-dev.h | |
| parent | 2e82b84c01d9438d86079980e22e036eee71e754 (diff) | |
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 'include/linux/backing-dev.h')
| -rw-r--r-- | include/linux/backing-dev.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index aaeb2ec5d33c..557d84063934 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
| @@ -25,11 +25,10 @@ static inline struct backing_dev_info *bdi_get(struct backing_dev_info *bdi) | |||
| 25 | 25 | ||
| 26 | void bdi_put(struct backing_dev_info *bdi); | 26 | void bdi_put(struct backing_dev_info *bdi); |
| 27 | 27 | ||
| 28 | __printf(3, 4) | 28 | __printf(2, 3) |
| 29 | int bdi_register(struct backing_dev_info *bdi, struct device *parent, | 29 | int bdi_register(struct backing_dev_info *bdi, const char *fmt, ...); |
| 30 | const char *fmt, ...); | 30 | int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, |
| 31 | int bdi_register_va(struct backing_dev_info *bdi, struct device *parent, | 31 | va_list args); |
| 32 | const char *fmt, va_list args); | ||
| 33 | int bdi_register_owner(struct backing_dev_info *bdi, struct device *owner); | 32 | int bdi_register_owner(struct backing_dev_info *bdi, struct device *owner); |
| 34 | void bdi_unregister(struct backing_dev_info *bdi); | 33 | void bdi_unregister(struct backing_dev_info *bdi); |
| 35 | 34 | ||
