Skip to content
Commit b916a59a authored by Jan Schmidt's avatar Jan Schmidt Committed by David Sterba
Browse files

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: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent aefc1eb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment