aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/dma.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-12-16 13:51:01 -0500
committerChris Mason <chris.mason@oracle.com>2008-12-16 13:51:01 -0500
commitdcbdd4dcb9793b00b46ab023e9330922c8c7c54c (patch)
treeca599e975c92de75c98283756f80b2aa7a1879bb /include/asm-m32r/dma.h
parent75eff68ea6959efd999b125fc3dcf73931a3b30b (diff)
downloadkernel_samsung_smdk4412-dcbdd4dcb9793b00b46ab023e9330922c8c7c54c.zip
kernel_samsung_smdk4412-dcbdd4dcb9793b00b46ab023e9330922c8c7c54c.tar.gz
kernel_samsung_smdk4412-dcbdd4dcb9793b00b46ab023e9330922c8c7c54c.tar.bz2
Btrfs: delete checksum items before marking blocks free
Btrfs maintains a cache of blocks available for allocation in ram. The code that frees extents was marking the extents free and then deleting the checksum items. This meant it was possible the extent would be reallocated before the checksum item was actually deleted, leading to races and other problems as the checksums were updated for the newly allocated extent. The fix is to delete the checksum before marking the extent free. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'include/asm-m32r/dma.h')
0 files changed, 0 insertions, 0 deletions