Btrfs: read lock extent buffer while walking backrefs
authorFilipe Manana <fdmanana@suse.com>
Wed, 2 Jul 2014 19:07:54 +0000 (20:07 +0100)
committerChris Mason <clm@fb.com>
Fri, 15 Aug 2014 14:43:13 +0000 (07:43 -0700)
Before processing the extent buffer, acquire a read lock on it, so
that we're safe against concurrent updates on the extent buffer.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/backref.c

Simple merge