aboutsummaryrefslogtreecommitdiff
path: root/include/linux/backing-dev-defs.h
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2020-05-04 14:48:01 +0200
committerGravatar Jens Axboe <axboe@kernel.dk> 2020-05-09 16:15:13 -0600
commit1cd925d583857ee3ead6cfbf1e4b1cd067d28591 (patch)
tree3fac6cb4f5e1aec1c9d53217e800f472f30af294 /include/linux/backing-dev-defs.h
parentbdi: simplify bdi_alloc (diff)
downloadlinux-1cd925d583857ee3ead6cfbf1e4b1cd067d28591.tar.gz
linux-1cd925d583857ee3ead6cfbf1e4b1cd067d28591.tar.bz2
linux-1cd925d583857ee3ead6cfbf1e4b1cd067d28591.zip
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/linux/backing-dev-defs.h')
-rw-r--r--include/linux/backing-dev-defs.h2
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;