summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_address.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-07-03 13:37:30 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-03 13:37:30 -0400
commit66de045d9fe6147b065c47236d3b9d8d8a6cbd57 (patch)
tree3b9878eef16ddb60bf3daf9f17c1fa5b6bed105a /fs/gfs2/ops_address.c
parent0c0834a30cceeaf2748705d2b31f0d058693b716 (diff)
[GFS2] Make our address_space_operations const
As per Christoph's patch: http://www.kernel.org/git/?p=linux/kernel/git/steve/gfs2-2.6.git;a=commitdiff;h=f5e54d6e53a20cef45af7499e86164f0e0d16bb2 We mark struct address_space_operations const in GFS2. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r--fs/gfs2/ops_address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c
index 207363aed11..26db3335d4b 100644
--- a/fs/gfs2/ops_address.c
+++ b/fs/gfs2/ops_address.c
@@ -655,7 +655,7 @@ static ssize_t gfs2_direct_IO(int rw, struct kiocb *iocb,
DIO_OWN_LOCKING);
}
-struct address_space_operations gfs2_file_aops = {
+const struct address_space_operations gfs2_file_aops = {
.writepage = gfs2_writepage,
.readpage = gfs2_readpage,
.readpages = gfs2_readpages,