diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-11-22 06:20:49 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-11-22 06:26:02 +0300 |
commit | 784b4e29a26617589edd290dd2919735e190c06e (patch) | |
tree | 1c1806afb3aa5a7f82b272b8b38dc1e13e45d16b /fs/btrfs/inode.c | |
parent | 6418c96107a2b399848bb8cfc6e29f11ca74fb94 (diff) | |
download | linux-784b4e29a26617589edd290dd2919735e190c06e.tar.xz |
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 <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions