summaryrefslogtreecommitdiffstats
path: root/scripts/coccicheck
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2011-02-10 18:35:00 +0100
committerChris Mason <chris.mason@oracle.com>2011-02-14 19:03:52 +0100
commiteb14ab8ed24a0405fd056068b28c33a1cd846024 (patch)
tree1451cad453a3ff66bc5369dc83daf7e3a50c4897 /scripts/coccicheck
parentBtrfs: Fix page count calculation (diff)
downloadlinux-eb14ab8ed24a0405fd056068b28c33a1cd846024.tar.xz
linux-eb14ab8ed24a0405fd056068b28c33a1cd846024.zip
Btrfs: fix page->private races
There is a race where btrfs_releasepage can drop the page->private contents just as alloc_extent_buffer is setting up pages for metadata. Because of how the Btrfs page flags work, this results in us skipping the crc on the page during IO. This patch sovles the race by waiting until after the extent buffer is inserted into the radix tree before it sets page private. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions