Btrfs: check btrfs_get_extent return for IS_ERR()
authorDan Carpenter <error27@gmail.com>
Sat, 20 Mar 2010 11:22:10 +0000 (11:22 +0000)
committerChris Mason <chris.mason@oracle.com>
Wed, 31 Mar 2010 01:19:09 +0000 (21:19 -0400)
commit6cf8bfbf5e88edfb09a2bf0631a067060f534592
tree70cc8040189bcd623e72ab1f09c6dc4fb40741e5
parentc2b96929e2ca6914cf4a66cd8fe2a34c4a98277f
Btrfs: check btrfs_get_extent return for IS_ERR()

btrfs_get_extent() never returns NULL, only a valid pointer or ERR_PTR()

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c