nbd: check the return value of sysfs_create_file
commit84963048ca8093e0aa71ac90c2a5fe7af5f617c3
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 9 May 2007 09:33:36 +0000 (9 02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:49 +0000 (9 12:30 -0700)
tree336e616e2e51bcf74010d33dc331484f30676fca
parentb8cb34481edfee6692c83d3b283e29820e840280
nbd: check the return value of sysfs_create_file

[akpm@linux-foundation.org: fix it]
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/nbd.c