diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-04 15:48:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-10 01:15:13 +0300 |
commit | 1cd925d583857ee3ead6cfbf1e4b1cd067d28591 (patch) | |
tree | 3fac6cb4f5e1aec1c9d53217e800f472f30af294 /include | |
parent | aef33c2ff8aa5e24f3f7d93806aa84ca1c2b6832 (diff) | |
download | linux-1cd925d583857ee3ead6cfbf1e4b1cd067d28591.tar.xz |
bdi: remove the name field in struct backing_dev_info
The name is only printed for a not registered bdi in writeback. Use the
device name there as is more useful anyway for the unlike case that the
warning triggers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/backing-dev-defs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/backing-dev-defs.h b/include/linux/backing-dev-defs.h index 7367150f962a..90a7e844a098 100644 --- a/include/linux/backing-dev-defs.h +++ b/include/linux/backing-dev-defs.h @@ -193,8 +193,6 @@ struct backing_dev_info { congested_fn *congested_fn; /* Function pointer if device is md/dm */ void *congested_data; /* Pointer to aux data for congested func */ - const char *name; - struct kref refcnt; /* Reference counter for the structure */ unsigned int capabilities; /* Device capabilities */ unsigned int min_ratio; |