Btrfs: cleanup fs/btrfs/super.c::btrfs_control_ioctl()
authorWang Cong <xiyou.wangcong@gmail.com>
Wed, 21 Jan 2009 15:49:16 +0000 (10:49 -0500)
committerChris Mason <chris.mason@oracle.com>
Wed, 21 Jan 2009 15:49:16 +0000 (10:49 -0500)
commit19d00cc196a3a66fd074f62b39d219f743b92338
treef3c771837e17d7bcbdfe5b6c9f0911d85c90ca16
parentc071fcfdb60e7abbe95e02460005d6bca165bf24
Btrfs: cleanup fs/btrfs/super.c::btrfs_control_ioctl()

- Remove the unused local variable 'len';
- Check return value of kmalloc().

Signed-off-by: Wang Cong <wangcong@zeuux.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/super.c