]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Btrfs: Use invalidatepage when writepage finds a page outside of i_size
authorChris Mason <chris.mason@oracle.com>
Mon, 10 Nov 2008 16:50:50 +0000 (11:50 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 10 Nov 2008 16:50:50 +0000 (11:50 -0500)
commit39be25cd89450940b0e5f8a6aad71d1ec99b17bf
treeecd9732a647df1af7439e1f859ac3b00e68cb430
parentf5a31e166772a7b9fff6725b697eb8b57633671e
Btrfs: Use invalidatepage when writepage finds a page outside of i_size

With all the recent fixes to the delalloc locking, it is now safe
again to use invalidatepage inside the writepage code for
pages outside of i_size.  This used to deadlock against some of the
code to write locked ranges of pages, but all of that has been fixed.

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