]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Btrfs: Make sure pages are dirty before doing delalloc for them
authorChris Mason <chris.mason@oracle.com>
Mon, 10 Nov 2008 12:31:30 +0000 (07:31 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 10 Nov 2008 12:31:30 +0000 (07:31 -0500)
commitf2b1c41cf94d7f839fe9ede5f3ead92698a93fb3
treedbde0effe5d2e147dd74af96b29ece862b94960d
parent5b7c3fcc46b5deb8a368d5319cf87c78c2df65fe
Btrfs: Make sure pages are dirty before doing delalloc for them

This adds a PageDirty check to the writeback path that locks pages
for delalloc.  If a page wasn't dirty at this point, it is in the
process of being truncated away.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c