]> err.no Git - linux-2.6/commitdiff
[GFS2] Add sync_page to metadata address space operations
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 1 Nov 2007 09:34:14 +0000 (09:34 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:40 +0000 (08:07 +0000)
This set of address space operations was missing a sync_page
operation.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/meta_io.c

index 01ef90253ed11a4d8c930f9d728f519afd69fe39..4b1aced9023d8fead3e9c48f66b4884a61edc113 100644 (file)
@@ -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,
 };
 
 /**