Btrfs end_bio_extent_readpage should look for locked bits
authorChris Mason <chris.mason@oracle.com>
Sat, 16 Apr 2011 10:55:39 +0000 (06:55 -0400)
committerChris Mason <chris.mason@oracle.com>
Sat, 16 Apr 2011 10:55:39 +0000 (06:55 -0400)
commit0d399205edf3a4c290e76ebb36e541593af4a1b4
tree980af1dc3d803727d658aaa7b8565e06009e85e3
parent0e4f8f888845f9dca540ad175884244e5db5eea2
Btrfs end_bio_extent_readpage should look for locked bits

A recent commit caches the extent state in end_bio_extent_readpage,
but the search it does should look for locked extents.  This
fixes things to make it more effective.

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