From: Derrick Brashear Date: Wed, 22 Aug 2007 03:13:42 +0000 (+0000) Subject: DEVEL15-nfstrans-updates-20070821 X-Git-Tag: openafs-devel-1_5_23~13 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b0a33d9f892ff99e9a23d44719b3d231b2d84d42;p=packages%2Fo%2Fopenafs.git DEVEL15-nfstrans-updates-20070821 FIXES 1480 fix the knfs error from the v/c/o pioctl changes (cherry picked from commit 34bbb13160e0d1fc2155f9fc1a906469d7aa3fde) --- diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 9bdf53484..b2e7d7746 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -3338,6 +3338,7 @@ HandleClientContext(struct afs_ioctl *ablob, int *com, struct afs_exporter *exporter, *outexporter; struct AFS_UCRED *newcred; struct unixuser *au; + afs_uint32 comp = *com & 0xff00; #if defined(AFS_SGIMP_ENV) osi_Assert(ISAFS_GLOCK()); @@ -3465,6 +3466,8 @@ HandleClientContext(struct afs_ioctl *ablob, int *com, } else if (!code) { EXP_RELE(outexporter); } + if (!code) + *com = (*com) | comp; return code; } #endif /* AFS_NEED_CLIENTCONTEXT */