summaryrefslogtreecommitdiff
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-06-12 14:45:52 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-09-11 09:20:26 +0200
commitd993831fa7ffeb89e994f046f93eeb09ec91df08 (patch)
treeda4f94bbf022c83988bda71adf1f1b3a88cb4592 /fs/char_dev.c
parentf09b00d3e789a88fa6c7c03cedc62cb65c1de0cb (diff)
writeback: add name to backing_dev_info
This enables us to track who does what and print info. Its main use is catching dirty inodes on the default_backing_dev_info, so we can fix that up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index a173551e19d..7c27a8ebef6 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -31,6 +31,7 @@
* - no readahead or I/O queue unplugging required
*/
struct backing_dev_info directly_mappable_cdev_bdi = {
+ .name = "char",
.capabilities = (
#ifdef CONFIG_MMU
/* permit private copies of the data to be taken */