commit | 66de045d9fe6147b065c47236d3b9d8d8a6cbd57 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Mon Jul 03 13:37:30 2006 -0400 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Jul 03 13:37:30 2006 -0400 |
tree | 3b9878eef16ddb60bf3daf9f17c1fa5b6bed105a | |
parent | 0c0834a30cceeaf2748705d2b31f0d058693b716 [diff] [blame] |
[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>
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c index 2523d42..ddcd4dc 100644 --- a/fs/gfs2/meta_io.c +++ b/fs/gfs2/meta_io.c
@@ -159,7 +159,7 @@ 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, };