Set VolumeChanged when we create a new root dir

Set the VolumeChanged flag when we create a new root directory in a
volume when salvaging, since doing so changes the volume.

Change-Id: Ic6cd0b0d6f9b52f2006a114269321a38d312ab9b
Reviewed-on: http://gerrit.openafs.org/2212
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-06-11 17:18:07 -05:00 committed by Derrick Brashear
parent 591f9b6de9
commit df38462c64

View File

@ -3786,6 +3786,7 @@ SalvageVolume(register struct InodeSummary *rwIsp, IHandle_t * alinkH)
if (code == 0) { if (code == 0) {
rootdirfound = 1; rootdirfound = 1;
newrootdir = 1; newrootdir = 1;
VolumeChanged = 1;
} }
} }