]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
GFS2: make sure rgrps are up to date in func gfs2_blk2rgrpd
authorBob Peterson <rpeterso@redhat.com>
Mon, 5 Mar 2012 15:19:35 +0000 (10:19 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Mar 2012 15:10:34 +0000 (15:10 +0000)
commit58884c4df005ee5ee854cfcd0385d5a6bf25aa30
tree7acef9d1e5d66241b151fd85f7d71cc56022c855
parent6aad1c3d3eba3db38b3a1200e2b02ff3af501c5a
GFS2: make sure rgrps are up to date in func gfs2_blk2rgrpd

This patch adds a call to gfs2_rindex_update from function gfs2_blk2rgrpd
and removes calls to it that are made redundant by it. The problem is
that a gfs2_grow can add rgrps to the rindex, then put those rgrps into
use, thus rendering the rindex we read in at mount time incomplete.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c