Btrfs: check the return value from set_anon_super
commitac08aedfa5d3de0dcb3825b598d16c2e57991f54
authorChris Mason <chris.mason@oracle.com>
Mon, 13 Jun 2011 15:28:50 +0000 (13 11:28 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 13 Jun 2011 15:28:50 +0000 (13 11:28 -0400)
treec5b72fd5837524e60e14d0f3dfd4afc67b53c4da
parent30b4caf5d73af5c99cf1b2b46496d8bc35330992
Btrfs: check the return value from set_anon_super

Al Viro noticed we weren't checking for set_anon_super failures.  This
adds the required checks.

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