]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Btrfs: btrfs_read_fs_root_no_name() returns ERR_PTRs
authorDan Carpenter <error27@gmail.com>
Sat, 29 May 2010 09:44:10 +0000 (09:44 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Jun 2010 19:57:36 +0000 (15:57 -0400)
commit3140c9a34b44cd4013baae8704fdb34a93a44475
tree824a5ecb5d6d1c50769d96cd48b8394c009334d5
parentd327099a23e3d0c8ec09137e9b4b115449d4eb29
Btrfs: btrfs_read_fs_root_no_name() returns ERR_PTRs

btrfs_read_fs_root_no_name() returns ERR_PTRs on error so I added a
check for that.  It's not clear to me if it can also return NULL
pointers or not so I left the original NULL pointer check as is.

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