]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: check the return value from set_anon_super
authorChris Mason <chris.mason@oracle.com>
Mon, 13 Jun 2011 15:28:50 +0000 (11:28 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 13 Jun 2011 15:28:50 +0000 (11:28 -0400)
commitfc4aecdffe2760a1b79e913c8d6c4cf7140ca63b
treec5b72fd5837524e60e14d0f3dfd4afc67b53c4da
parentdaf4dd7157f26a4d6e9fa8b7f9b5cf0e81598bb1
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