From: Dave Chinner Date: Tue, 9 Oct 2012 03:50:52 +0000 (+1100) Subject: xfs: growfs: don't read garbage for new secondary superblocks X-Git-Tag: v3.7-rc5~17^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaef854335ce09956e930fe4a193327417edc6c9;p=pandora-kernel.git xfs: growfs: don't read garbage for new secondary superblocks When updating new secondary superblocks in a growfs operation, the superblock buffer is read from the newly grown region of the underlying device. This is not guaranteed to be zero, so violates the underlying assumption that the unused parts of superblocks are zero filled. Get a new buffer for these secondary superblocks to ensure that the unused regions are zero filled correctly. Signed-off-by: Dave Chinner Reviewed-by: Carlos Maiolino Signed-off-by: Ben Myers --- Reading git-diff-tree failed