diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 18:06:18 +0300 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 18:06:18 +0300 |
commit | 78264bd9c239237fe356c32d08abf8e52a2d8737 (patch) | |
tree | c06736b2677be53b7ec1aafe4e0ad9f42763e35a /fs/ntfs/aops.c | |
parent | 3ccc7384db3d762e834dfdae13c1d6434b2fdeab (diff) | |
download | linux-78264bd9c239237fe356c32d08abf8e52a2d8737.tar.xz |
NTFS: Use buffer_migrate_page() for the ->migratepage function of all ntfs
address space operations.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/aops.c')
-rw-r--r-- | fs/ntfs/aops.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ntfs/aops.c b/fs/ntfs/aops.c index 7e361da770b3..7c7e313620fa 100644 --- a/fs/ntfs/aops.c +++ b/fs/ntfs/aops.c @@ -22,6 +22,7 @@ */ #include <linux/errno.h> +#include <linux/fs.h> #include <linux/mm.h> #include <linux/pagemap.h> #include <linux/swap.h> @@ -1551,6 +1552,9 @@ struct address_space_operations ntfs_aops = { #ifdef NTFS_RW .writepage = ntfs_writepage, /* Write dirty page to disk. */ #endif /* NTFS_RW */ + .migratepage = buffer_migrate_page, /* Move a page cache page from + one physical page to an + other. */ }; /** @@ -1567,6 +1571,9 @@ struct address_space_operations ntfs_mst_aops = { without touching the buffers belonging to the page. */ #endif /* NTFS_RW */ + .migratepage = buffer_migrate_page, /* Move a page cache page from + one physical page to an + other. */ }; #ifdef NTFS_RW |