Btrfs: Keep fs_mutex during reads done by snapshot deletion
authorChris Mason <chris.mason@oracle.com>
Tue, 1 Apr 2008 15:26:07 +0000 (11:26 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:01 +0000 (11:04 -0400)
commitecbe2402cb4e4e7413544dc392c1a78d0f290292
tree87d11983cac8bfef09ba94d69c3d210af0927e2b
parent140dfd00ae544cdc0c9951b80ad6df61e62859e2
Btrfs: Keep fs_mutex during reads done by snapshot deletion

There was an optimization to drop the fs_mutex when doing snapshot deletion
reads, but this can lead to false positives on checksumming errors.  Keep
the lock for now.

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