]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-nfstrans-updates-20070821
authorDerrick Brashear <shadow@dementia.org>
Wed, 22 Aug 2007 03:13:42 +0000 (03:13 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 22 Aug 2007 03:13:42 +0000 (03:13 +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 9bdf5348445bb2c35ab73c230297e946d5e14dd0..b2e7d77467ac00f3cb316b8936917c071faa1aae 100644 (file)
@@ -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 */