summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_address.h
diff options
context:
space:
mode:
authorSteven Whitehouse2006-07-03 19:37:30 +0200
committerSteven Whitehouse2006-07-03 19:37:30 +0200
commit66de045d9fe6147b065c47236d3b9d8d8a6cbd57 (patch)
tree3b9878eef16ddb60bf3daf9f17c1fa5b6bed105a /fs/gfs2/ops_address.h
parent[GFS2] API change for gfs2_statfs (diff)
downloadkernel-qcow2-linux-66de045d9fe6147b065c47236d3b9d8d8a6cbd57.tar.gz
kernel-qcow2-linux-66de045d9fe6147b065c47236d3b9d8d8a6cbd57.tar.xz
kernel-qcow2-linux-66de045d9fe6147b065c47236d3b9d8d8a6cbd57.zip
[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.h')
-rw-r--r--fs/gfs2/ops_address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_address.h b/fs/gfs2/ops_address.h
index b88adddaffb2..a7ef3bf36f3e 100644
--- a/fs/gfs2/ops_address.h
+++ b/fs/gfs2/ops_address.h
@@ -10,7 +10,7 @@
#ifndef __OPS_ADDRESS_DOT_H__
#define __OPS_ADDRESS_DOT_H__
-extern struct address_space_operations gfs2_file_aops;
+extern const struct address_space_operations gfs2_file_aops;
extern int gfs2_get_block(struct inode *inode, sector_t lblock,
struct buffer_head *bh_result, int create);