Skip to contentSkip to conversation

Add sync_page to metadata address space operations

Cluster-devel Steven Whitehouse 1 participant 1 message Nov 1, 2007 GFS2 file system

lore
Share & tools
lore
#0 lore raw

From ac8280e7b89b4f84019db9da34e6401024a820cf Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
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.

fs/gfs2/meta_io.c +1 -0
index 01ef902..4b1aced 100644
@@ -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,
 };
 
 /**
Signature · 1 line
1.5.1.2