Btrfs: do not return EINVAL instead of ENOMEM from open_ctree()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jun 2012 18:13:01 +0000 (12:13 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:27:52 +0000 (16:27 -0400)
commitfed425c742cb1262ce90a41f2d3d211bac099533
tree0f7370ed50d86f7c3335a82934d8da43d9aca6fb
parent02db0844beffc1c4e99d750be58ffb3ed95d6d62
Btrfs: do not return EINVAL instead of ENOMEM from open_ctree()

When bailing from open_ctree() err is returned, not ret.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/disk-io.c