summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-03-27 19:41:34 -0400
committerChris Mason <clm@fb.com>2014-04-06 17:34:36 -0700
commit573a075567f0174551e2fad2a3164afd2af788f2 (patch)
tree3712e14e91391f6a4d2b727e776d6879655067d3 /fs/btrfs/backref.c
parentba8b0289333a70f0d69923fd63350d0b0201b904 (diff)
downloadlinux-573a075567f0174551e2fad2a3164afd2af788f2.tar.gz
linux-573a075567f0174551e2fad2a3164afd2af788f2.tar.bz2
linux-573a075567f0174551e2fad2a3164afd2af788f2.zip
Btrfs: check for an extent_op on the locked ref
We could have possibly added an extent_op to the locked_ref while we dropped locked_ref->lock, so check for this case as well and loop around. Otherwise we could lose flag updates which would lead to extent tree corruption. Thanks, cc: stable@vger.kernel.org Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions