[Cluster-devel] [GFS2] Add sync_page to metadata address space operations

Steven Whitehouse swhiteho at redhat.com
Thu Nov 1 10:12:13 UTC 2007


>From ac8280e7b89b4f84019db9da34e6401024a820cf Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho at redhat.com>
Date: Thu, 1 Nov 2007 09:34:14 +0000
Subject: [PATCH] [GFS2] Add sync_page to metadata address space operations

This set of address space operations was missing a sync_page
operation.

Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>

diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index 01ef902..4b1aced 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -50,6 +50,7 @@ static int gfs2_aspace_writepage(struct page *page,
 static const struct address_space_operations aspace_aops = {
 	.writepage = gfs2_aspace_writepage,
 	.releasepage = gfs2_releasepage,
+	.sync_page = block_sync_page,
 };
 
 /**
-- 
1.5.1.2






More information about the Cluster-devel mailing list