nbd: replace sysfs_create_file() with device_create_file()
authorWANG Cong <amwang@redhat.com>
Fri, 19 Aug 2011 12:48:21 +0000 (14:48 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 19 Aug 2011 12:48:21 +0000 (14:48 +0200)
commit1695b87f7dd152b866f0dd867c8e599025fc4965
tree5ca52504b19c0640f6d9e1f59a649d6242480dd4
parent25ac0c2b971235d3e8c7af0b6889a1eb6988b559
nbd: replace sysfs_create_file() with device_create_file()

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/nbd.c