commit | b916a59adfdc875381b68ced258694b434cf43ae | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Fri Apr 13 12:28:08 2012 +0200 |
committer | David Sterba <dsterba@suse.cz> | Wed Apr 18 19:22:23 2012 +0200 |
tree | 7c73c9326cd558e9a5ae34381a6450e354a65a9d | |
parent | aefc1eb13ebbb86c5ffade8a9e2425cd71032d7e [diff] |
Btrfs: add missing read locks in backref.c 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>