bdi: add helper function for doing init and register of a bdi for a file system
authorJens Axboe <jens.axboe@oracle.com>
Thu, 22 Apr 2010 09:37:01 +0000 (11:37 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 22 Apr 2010 09:39:36 +0000 (11:39 +0200)
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>

No differences found