From df38462c64c244d97a56e9bbd0902173adb091a1 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Fri, 11 Jun 2010 17:18:07 -0500 Subject: [PATCH] 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 Tested-by: Derrick Brashear --- src/vol/vol-salvage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vol/vol-salvage.c b/src/vol/vol-salvage.c index e4faefce20..e3b89c936b 100644 --- a/src/vol/vol-salvage.c +++ b/src/vol/vol-salvage.c @@ -3786,6 +3786,7 @@ SalvageVolume(register struct InodeSummary *rwIsp, IHandle_t * alinkH) if (code == 0) { rootdirfound = 1; newrootdir = 1; + VolumeChanged = 1; } }