Add error processing for btrfsctl -a
authorShen Feng <shen@cn.fujitsu.com>
Wed, 7 Jan 2009 19:57:11 +0000 (14:57 -0500)
committerChris Mason <chris.mason@oracle.com>
Wed, 7 Jan 2009 19:57:11 +0000 (14:57 -0500)
commit2e1ca671776434e65c4b1b1d2b62de8d9cb13d35
tree10b1ae5ce546b32728eabcd7d260c317b1efc49a
parent52b14673e66f1feb09a4cc2e83fac2a365fcde53
Add error processing for btrfsctl -a

brfsctl -a will do nothing and no error is output
if btrfs.ko is not inserted.

Since no caller do error processing for btrfs_register_one_device,
make its return void and do error processing inside.

Signed-off-by: Shen Feng <shen@cn.fujitsu.com>
utils.c
utils.h