commit | c3c532061e46156e8aab1268f38d66cfb63aeb2d | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Apr 22 11:37:01 2010 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Apr 22 11:39:36 2010 +0200 |
tree | 8c5b027873b823b04f5564d442477e80e82e8edb | |
parent | a534dbe96e9929c7245924d8252d89048c23d569 [diff] |
bdi: add helper function for doing init and register of a bdi for a file system Pretty trivial helper, just sets up the bdi and registers it. An atomic sequence count is used to ensure that the registered sysfs names are unique. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>