diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-10-09 14:50:52 +1100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-08 11:08:57 -0600 |
commit | eaef854335ce09956e930fe4a193327417edc6c9 (patch) | |
tree | b3ad6c5011d31cb72e770259a2a22889b962b2fc /fs/jffs2 | |
parent | 1f3c785c3adb7d2b109ec7c8f10081d1294b03d3 (diff) | |
download | lwn-eaef854335ce09956e930fe4a193327417edc6c9.tar.gz lwn-eaef854335ce09956e930fe4a193327417edc6c9.zip |
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/jffs2')
0 files changed, 0 insertions, 0 deletions