Btrfs: btrfs_lookup_dir_item() can return ERR_PTR
authorDan Carpenter <error27@gmail.com>
Sat, 29 May 2010 09:47:24 +0000 (09:47 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Jun 2010 19:57:37 +0000 (15:57 -0400)
commitcf1e99a4e0daa4a5623cd71108509823b9ff2d30
treee2e613940e9d4449be976a5a09e1c2a72bb45a83
parent3140c9a34b44cd4013baae8704fdb34a93a44475
Btrfs: btrfs_lookup_dir_item() can return ERR_PTR

btrfs_lookup_dir_item() can return either ERR_PTRs or null.

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