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

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

(cherry picked from commit 34bbb13160e0d1fc2155f9fc1a906469d7aa3fde)

src/afs/afs_pioctl.c

index ed1b2844afe1750ba7c36af890cc509f63be444e..8ccb04ada188f34f29b4994b07668096fc8c0d21 100644 (file)
@@ -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 */