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>
Sun, 20 Nov 2011 12:42:17 +0000 (07:42 -0500)
commitf7d61dcd6873c49bcc42be2caa2af1c2511aa915
tree9619519c2eac1dd207bf822f348575cf9f98ba47
parent291c7d2f577428f896daa5002e784959328a80aa
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>
fs/btrfs/free-space-cache.c