summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.yan@oracle.com>2010-05-26 19:20:30 +0400
committerChris Mason <chris.mason@oracle.com>2010-05-27 05:35:33 +0400
commit5bdd3536cbbe2ecd94ecc14410c6b1b31da16381 (patch)
tree7fd9cd2cb497f6150a5dfde4528ba6ba64144e40 /fs/btrfs/extent-tree.c
parent46bfbb5c0740c200d2b66afcbd1f9d64ab320940 (diff)
downloadlinux-5bdd3536cbbe2ecd94ecc14410c6b1b31da16381.tar.xz
Btrfs: Fix block generation verification race
After the path is released, the generation number got from block pointer is no long valid. The race may cause disk corruption, because verify_parent_transid() calls clear_extent_buffer_uptodate() when generation numbers mismatch. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions