From: Andrew Deason Date: Mon, 21 May 2012 23:15:58 +0000 (-0500) Subject: afsd: Report fakestat correctly X-Git-Tag: openafs-stable-1_8_0pre1~2392 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=47e12584804b287051552900c94c99a3c84daa92 afsd: Report fakestat correctly A fakestat value of 1 is for -fakestat-all, and 2 is for -fakestat, not the other way around. Change-Id: Iedfb7b4a5223c809ace5b5f704a671e8523eb53a Reviewed-on: http://gerrit.openafs.org/7445 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 5fe8b04..bc105c5 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -2300,7 +2300,7 @@ afsd_run(void) if (enable_fakestat) { if (afsd_verbose) printf("%s: Enabling fakestat support in kernel%s.\n", rn, - (enable_fakestat==2)?" for all mountpoints." + (enable_fakestat==1)?" for all mountpoints." :" for crosscell mountpoints"); code = afsd_call_syscall(AFSOP_SET_FAKESTAT, enable_fakestat); if (code)