btrfs scrub: handle -ENOMEM from init_ipath()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 16 Nov 2011 08:28:01 +0000 (11:28 +0300)
committerDavid Sterba <dsterba@suse.cz>
Wed, 30 Nov 2011 17:46:01 +0000 (18:46 +0100)
commit26bdef541d26fd6a5ddffdf8949ace22f94f809f
tree85e4db1a93d211a719cb2c1ecec384ff442e0cd9
parent24a70313969fc3fc440216b40babdb42564acff3
btrfs scrub: handle -ENOMEM from init_ipath()

init_ipath() can return an ERR_PTR(-ENOMEM).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/btrfs/scrub.c