mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
STABLE14-nfstrans-updates-20070821
FIXES 1480
fix the knfs error from the v/c/o pioctl changes
(cherry picked from commit 34bbb13160
)
This commit is contained in:
parent
d9238c7992
commit
d0124968d7
@ -3360,6 +3360,7 @@ HandleClientContext(struct afs_ioctl *ablob, int *com,
|
|||||||
struct afs_exporter *exporter, *outexporter;
|
struct afs_exporter *exporter, *outexporter;
|
||||||
struct AFS_UCRED *newcred;
|
struct AFS_UCRED *newcred;
|
||||||
struct unixuser *au;
|
struct unixuser *au;
|
||||||
|
afs_uint32 comp = *com & 0xff00;
|
||||||
|
|
||||||
#if defined(AFS_SGIMP_ENV)
|
#if defined(AFS_SGIMP_ENV)
|
||||||
osi_Assert(ISAFS_GLOCK());
|
osi_Assert(ISAFS_GLOCK());
|
||||||
@ -3485,6 +3486,8 @@ HandleClientContext(struct afs_ioctl *ablob, int *com,
|
|||||||
} else if (!code) {
|
} else if (!code) {
|
||||||
EXP_RELE(outexporter);
|
EXP_RELE(outexporter);
|
||||||
}
|
}
|
||||||
|
if (!code)
|
||||||
|
*com = (*com) | comp;
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
#endif /* AFS_NEED_CLIENTCONTEXT */
|
#endif /* AFS_NEED_CLIENTCONTEXT */
|
||||||
|
Loading…
Reference in New Issue
Block a user