summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.h
diff options
context:
space:
mode:
authorSteven Whitehouse2006-07-03 19:47:02 +0200
committerSteven Whitehouse2006-07-03 19:47:02 +0200
commitb0dd9308b703310e9a988df70f6ed3e87cb55655 (patch)
tree29246307448a15748c226bed80c1939b0e200e2e /fs/gfs2/ops_file.h
parent[GFS2] Make our address_space_operations const (diff)
downloadkernel-qcow2-linux-b0dd9308b703310e9a988df70f6ed3e87cb55655.tar.gz
kernel-qcow2-linux-b0dd9308b703310e9a988df70f6ed3e87cb55655.tar.xz
kernel-qcow2-linux-b0dd9308b703310e9a988df70f6ed3e87cb55655.zip
[GFS2] Mark file_operations const
As per Arjan's patches: http://www.kernel.org/git/?p=linux/kernel/git/steve/gfs2-2.6.git;a=commitdiff;h=99ac48f54a91d02140c497edc31dc57d4bc5c85d and http://www.kernel.org/git/?p=linux/kernel/git/steve/gfs2-2.6.git;a=commitdiff;h=4b6f5d20b04dcbc3d888555522b90ba6d36c4106 make the GFS2 file_operations structures const. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_file.h')
-rw-r--r--fs/gfs2/ops_file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_file.h b/fs/gfs2/ops_file.h
index a2edce38f5cb..46302b513937 100644
--- a/fs/gfs2/ops_file.h
+++ b/fs/gfs2/ops_file.h
@@ -14,7 +14,7 @@ extern int gfs2_internal_read(struct gfs2_inode *ip,
struct file_ra_state *ra_state,
char *buf, loff_t *pos, unsigned size);
-extern struct file_operations gfs2_file_fops;
-extern struct file_operations gfs2_dir_fops;
+extern const struct file_operations gfs2_file_fops;
+extern const struct file_operations gfs2_dir_fops;
#endif /* __OPS_FILE_DOT_H__ */