diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-06-12 14:45:52 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 09:20:26 +0200 |
commit | d993831fa7ffeb89e994f046f93eeb09ec91df08 (patch) | |
tree | da4f94bbf022c83988bda71adf1f1b3a88cb4592 /fs/sysfs | |
parent | f09b00d3e789a88fa6c7c03cedc62cb65c1de0cb (diff) | |
download | linux-stable-d993831fa7ffeb89e994f046f93eeb09ec91df08.tar.gz linux-stable-d993831fa7ffeb89e994f046f93eeb09ec91df08.tar.bz2 linux-stable-d993831fa7ffeb89e994f046f93eeb09ec91df08.zip |
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/sysfs')
-rw-r--r-- | fs/sysfs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index 555f0ff988df..e57f98e54fce 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c @@ -29,6 +29,7 @@ static const struct address_space_operations sysfs_aops = { }; static struct backing_dev_info sysfs_backing_dev_info = { + .name = "sysfs", .ra_pages = 0, /* No readahead */ .capabilities = BDI_CAP_NO_ACCT_AND_WRITEBACK, }; |