Btrfs: add missing read locks in backref.c
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Fri, 13 Apr 2012 10:28:08 +0000 (12:28 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 18 Apr 2012 17:22:23 +0000 (19:22 +0200)
iref_to_path and iterate_irefs both increment the eb's refcount to use it
after releasing the path. Both depend on consistent data remaining in the
extent buffer and need a read lock to protect it.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/backref.c

Simple merge