aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2014-01-09 11:34:04 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2014-01-09 11:34:04 -0500
commit39849d6946a84861a517c09ca0b691ce6d98c7a6 (patch)
treeae8a3618a188e9b537f2ecf93856d9217c544112 /fs/gfs2
parent01bcb0dedbcd77a5ebb4f2dfd7d3196e3ad5cea5 (diff)
GFS2: Add initialization for address space in super block
Spotted by Andy Price. This should fix the odd messages from lockdep caused by 70d4ee94b370c5ef54d0870600f16bd92d18013c Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Cc: Andrew Price <anprice@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_fstype.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 94aab31477b6..3b820b672d17 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -102,6 +102,7 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb)
102 102
103 mapping = &sdp->sd_aspace; 103 mapping = &sdp->sd_aspace;
104 104
105 address_space_init_once(mapping);
105 mapping->a_ops = &gfs2_meta_aops; 106 mapping->a_ops = &gfs2_meta_aops;
106 mapping->host = sb->s_bdev->bd_inode; 107 mapping->host = sb->s_bdev->bd_inode;
107 mapping->flags = 0; 108 mapping->flags = 0;