From 7442da9e651f0ec965470734739207888dd66e54 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Mon, 3 Jul 2006 13:37:30 -0400 Subject: [PATCH] --- yaml --- r: 38732 b: refs/heads/master c: 66de045d9fe6147b065c47236d3b9d8d8a6cbd57 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/meta_io.c | 2 +- trunk/fs/gfs2/ops_address.c | 2 +- trunk/fs/gfs2/ops_address.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index fbde4014e101..6f87b44f545e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0c0834a30cceeaf2748705d2b31f0d058693b716 +refs/heads/master: 66de045d9fe6147b065c47236d3b9d8d8a6cbd57 diff --git a/trunk/fs/gfs2/meta_io.c b/trunk/fs/gfs2/meta_io.c index 2523d42a02de..ddcd4dc1081d 100644 --- a/trunk/fs/gfs2/meta_io.c +++ b/trunk/fs/gfs2/meta_io.c @@ -159,7 +159,7 @@ static int gfs2_aspace_releasepage(struct page *page, gfp_t gfp_mask) return try_to_free_buffers(page); } -static struct address_space_operations aspace_aops = { +static const struct address_space_operations aspace_aops = { .writepage = gfs2_aspace_writepage, .releasepage = gfs2_aspace_releasepage, }; diff --git a/trunk/fs/gfs2/ops_address.c b/trunk/fs/gfs2/ops_address.c index 207363aed112..26db3335d4b3 100644 --- a/trunk/fs/gfs2/ops_address.c +++ b/trunk/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, diff --git a/trunk/fs/gfs2/ops_address.h b/trunk/fs/gfs2/ops_address.h index b88adddaffb2..a7ef3bf36f3e 100644 --- a/trunk/fs/gfs2/ops_address.h +++ b/trunk/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);