]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
nfstrans-updates-20070821
authorDerrick Brashear <shadow@dementia.org>
Wed, 22 Aug 2007 03:12:13 +0000 (03:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 22 Aug 2007 03:12:13 +0000 (03:12 +0000)
FIXES 1480

fix the knfs error from the v/c/o pioctl changes

src/afs/afs_pioctl.c

index 7c2185ed642a17b9d7cc71d76fbe105296645f17..f192a542a20b0b941a8ee48826a32c3305f2c989 100644 (file)
@@ -3339,6 +3339,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());
@@ -3466,6 +3467,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 */