GFS2: Fix address space from page function
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2014 16:48:27 +0000 (17:48 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2014 16:48:27 +0000 (17:48 +0100)
commit1b2ad41214c9bf6e8befa000f0522629194bf540
treeca9bfdbbabf9aa50e81565c643a8849789a69949
parent059788039f1e6343f34f46d202f8d9f2158c2783
GFS2: Fix address space from page function

Now that rgrps use the address space which is part of the super
block, we need to update gfs2_mapping2sbd() to take account of
that. The only way to do that easily is to use a different set
of address_space_operations for rgrps.

Reported-by: Abhi Das <adas@redhat.com>
Tested-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/meta_io.c
fs/gfs2/meta_io.h
fs/gfs2/ops_fstype.c