]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Fix crash on read failures at mount
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 22 Jul 2009 20:52:13 +0000 (16:52 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 22 Jul 2009 20:52:13 +0000 (16:52 -0400)
commit6f8f0e7726149d46282552f841ce5e3e89c2656d
tree7440a54bdc12e3aa7c268b9b747204dc0e1e2a5e
parentadebd88f3bd8654489b39f45cc107d10caedf6c0
Btrfs: Fix crash on read failures at mount

If the tree roots hit read errors during mount, btrfs is not properly
erroring out.  We need to check the uptodate bits after
reading in the tree root node.

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