diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index ed1b2844af..8ccb04ada1 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -3360,6 +3360,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()); @@ -3485,6 +3486,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 */