]> Pileus Git - ~andy/linux/commitdiff
GFS2: Add initialization for address space in super block
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 9 Jan 2014 16:34:04 +0000 (16:34 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 9 Jan 2014 16:34:04 +0000 (16:34 +0000)
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>
fs/gfs2/ops_fstype.c

index 94aab31477b688f76ee32ca752c8931203a3161c..3b820b672d17d2b3c5146b5f125c920abb16dba6 100644 (file)
@@ -102,6 +102,7 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb)
 
        mapping = &sdp->sd_aspace;
 
+       address_space_init_once(mapping);
        mapping->a_ops = &gfs2_meta_aops;
        mapping->host = sb->s_bdev->bd_inode;
        mapping->flags = 0;