]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: clear pages dirty for io and set them extent mapped
authorJosef Bacik <josef@redhat.com>
Tue, 15 Nov 2011 14:31:24 +0000 (09:31 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 16 Dec 2011 19:39:46 +0000 (14:39 -0500)
commit2b66fa1f8ecaeba175261299b0653ea4786af3e2
treeffabed99a3b478fea86a67746775929a199e686d
parentd0addd63264aadb01af214d6f48df46a2b829f0a
Btrfs: clear pages dirty for io and set them extent mapped

When doing the io_ctl helpers to clean up the free space cache stuff I stopped
using our normal prepare_pages stuff, which means I of course forgot to do
things like set the pages extent mapped, which will cause us all sorts of
wonderful propblems.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
(cherry picked from commit f7d61dcd6873c49bcc42be2caa2af1c2511aa915)
fs/btrfs/free-space-cache.c