From: Chris Mason Date: Mon, 22 Nov 2010 03:20:49 +0000 (-0500) Subject: Btrfs: add migrate page for metadata inode X-Git-Tag: v2.6.37-rc4~6^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=784b4e29a26617589edd290dd2919735e190c06e;p=pandora-kernel.git Btrfs: add migrate page for metadata inode Migrate page will directly call the btrfs btree writepage function, which isn't actually allowed. Our writepage assumes that you have locked the extent_buffer and flagged the block as written. Without doing these steps, we can corrupt metadata blocks. A later commit will remove the btree writepage function since it is really only safely used internally by btrfs. We use writepages for everything else. Signed-off-by: Chris Mason --- Reading git-diff-tree failed