aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ioctl.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-10-08 23:50:52 -0400
committerBen Myers <bpm@sgi.com>2012-11-02 16:42:35 -0400
commit1375cb65e87b327a8dd4f920c3e3d837fb40e9c2 (patch)
tree65864cb563db56e2bb8fe2e63f2c21d4e61a01c4 /fs/xfs/xfs_ioctl.c
parente04426b9202bccd4cfcbc70b2fa2aeca1c86d8f5 (diff)
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 <dchinner@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions