Skip to content

Commit

Permalink
GFS2: Add initialization for address space in super block
Browse files Browse the repository at this point in the history
Spotted by Andy Price. This should fix the odd messages from
lockdep caused by 70d4ee9

Signed-off-by: Steven Whitehouse <[email protected]>
Cc: Andrew Price <[email protected]>
  • Loading branch information
swhiteho committed Jan 9, 2014
1 parent 01bcb0d commit 39849d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/gfs2/ops_fstype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39849d6

Please sign in to comment.