commit | ad081f1430515d0b727eba99ec435a526c61a599 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Jun 12 14:43:40 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Jun 16 08:21:03 2009 +0200 |
tree | 0d76c5feb597d6b8d062699e48f695e17ce9223a | |
parent | 0989a025d2f4f9f51ea641bd26c563c53dc63f55 [diff] |
btrfs: properly register fs backing device btrfs assigns this bdi to all inodes on that file system, so make sure it's registered. This isn't really important now, but will be when we put dirty inodes there. Even now, we miss the stats when the bdi isn't visible. Also fixes failure to check bdi_init() return value, and bad inherit of ->capabilities flags from the default bdi. Acked-by: Chris Mason <chris.mason@oracle.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>