[PATCH] [17/19] HWPOISON: Enable error_remove_page for NFS

Andi Kleen
2009-08-05T09:36:45Z

Enable hardware memory error handling for NFS

Truncation of data pages at runtime should be safe in NFS,
even when it doesn't support migration so far.

Cc: Trond.Myklebust@netapp.com

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
fs/nfs/file.c | 1 +
1 file changed, 1 insertion(+)

Index: linux/fs/nfs/file.c
===================================================================
--- linux.orig/fs/nfs/file.c
+++ linux/fs/nfs/file.c
@@ -480,6 +480,7 @@ const struct address_space_operations nf
.releasepage = nfs_release_page,
.direct_IO = nfs_direct_IO,
.launder_page = nfs_launder_page,
+ .error_remove_page = generic_error_remove_page,
};

/*