diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-06-12 12:45:52 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 07:20:26 (GMT) |
commit | d993831fa7ffeb89e994f046f93eeb09ec91df08 (patch) | |
tree | da4f94bbf022c83988bda71adf1f1b3a88cb4592 /drivers/char/mem.c | |
parent | f09b00d3e789a88fa6c7c03cedc62cb65c1de0cb (diff) | |
download | linux-d993831fa7ffeb89e994f046f93eeb09ec91df08.tar.xz |
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 'drivers/char/mem.c')
-rw-r--r-- | drivers/char/mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/mem.c b/drivers/char/mem.c index afa8813..645237b 100644 --- a/drivers/char/mem.c +++ b/drivers/char/mem.c @@ -822,6 +822,7 @@ static const struct file_operations zero_fops = { * - permits private mappings, "copies" are taken of the source of zeros */ static struct backing_dev_info zero_bdi = { + .name = "char/mem", .capabilities = BDI_CAP_MAP_COPY, }; |