diff options
author | NeilBrown <neilb@suse.de> | 2009-08-03 10:59:57 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-08-03 10:59:57 +1000 |
commit | 70471dafe3390243c598a3165dfb86b8b8b3f4fe (patch) | |
tree | febb8dfdbbb981370e1ea046714628bf6b790e5a /fs/jbd2 | |
parent | 3673f305faf1bc66ead751344f8262ace851ff44 (diff) |
md: Handle growth of v1.x metadata correctly.
The v1.x metadata does not have a fixed size and can grow
when devices are added.
If it grows enough to require an extra sector of storage,
we need to update the 'sb_size' to match.
Without this, md can write out an incomplete superblock with a
bad checksum, which will be rejected when trying to re-assemble
the array.
Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions