mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
STABLE14-nfs3-no-readdirplus-20041108
FIXES 15961 don't support readdirplus in nfsv3 (cherry picked from commit 31dd436712c7119a0bcb0ad534b7e9e6304dd298)
This commit is contained in:
parent
8808a9baa6
commit
9e5997c9f5
@ -747,6 +747,13 @@ afs_nfs3_noaccess(struct afs_nfs3_resp *resp)
|
|||||||
resp->flags = FALSE;
|
resp->flags = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
afs_nfs3_notsupp(struct afs_nfs3_resp *resp)
|
||||||
|
{
|
||||||
|
resp->status = NFS3ERR_NOTSUPP;
|
||||||
|
resp->flags = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
afs_int32
|
afs_int32
|
||||||
nfs3_to_afs_call(int which, caddr_t * args, nfs_fh3 ** fhpp, nfs_fh3 ** fh2pp)
|
nfs3_to_afs_call(int which, caddr_t * args, nfs_fh3 ** fhpp, nfs_fh3 ** fh2pp)
|
||||||
{
|
{
|
||||||
@ -1370,6 +1377,8 @@ afs_nfs3_readdirplus(char *args, char *xp, char *exp, char *rp, char *crp)
|
|||||||
crp);
|
crp);
|
||||||
if (call > 1)
|
if (call > 1)
|
||||||
afs_nfs3_noaccess((struct afs_nfs3_resp *)xp);
|
afs_nfs3_noaccess((struct afs_nfs3_resp *)xp);
|
||||||
|
else if (call == 1)
|
||||||
|
afs_nfs3_notsupp((struct afs_nfs3_resp *)xp);
|
||||||
else
|
else
|
||||||
(*afs_rfs3_disp_tbl[NFSPROC3_READDIRPLUS].orig_proc) (args, xp, exp,
|
(*afs_rfs3_disp_tbl[NFSPROC3_READDIRPLUS].orig_proc) (args, xp, exp,
|
||||||
rp, crp);
|
rp, crp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user