nfs4proc.c (103cc1fafee48adb91fca0e19deb869fd23e46ab) | nfs4proc.c (3fdc546462348b8a497c72bc894e0cde9f10fc40) |
---|---|
1/* 2 * Server-side procedures for NFSv4. 3 * 4 * Copyright (c) 2002 The Regents of the University of Michigan. 5 * All rights reserved. 6 * 7 * Kendrick Smith <kmsmith@umich.edu> 8 * Andy Adamson <andros@umich.edu> --- 3582 unchanged lines hidden (view full) --- 3591 .pc_xdrressize = 1, 3592 .pc_name = "NULL", 3593 }, 3594 [NFSPROC4_COMPOUND] = { 3595 .pc_func = nfsd4_proc_compound, 3596 .pc_decode = nfs4svc_decode_compoundargs, 3597 .pc_encode = nfs4svc_encode_compoundres, 3598 .pc_argsize = sizeof(struct nfsd4_compoundargs), | 1/* 2 * Server-side procedures for NFSv4. 3 * 4 * Copyright (c) 2002 The Regents of the University of Michigan. 5 * All rights reserved. 6 * 7 * Kendrick Smith <kmsmith@umich.edu> 8 * Andy Adamson <andros@umich.edu> --- 3582 unchanged lines hidden (view full) --- 3591 .pc_xdrressize = 1, 3592 .pc_name = "NULL", 3593 }, 3594 [NFSPROC4_COMPOUND] = { 3595 .pc_func = nfsd4_proc_compound, 3596 .pc_decode = nfs4svc_decode_compoundargs, 3597 .pc_encode = nfs4svc_encode_compoundres, 3598 .pc_argsize = sizeof(struct nfsd4_compoundargs), |
3599 .pc_argzero = sizeof(struct nfsd4_compoundargs), | 3599 .pc_argzero = offsetof(struct nfsd4_compoundargs, iops), |
3600 .pc_ressize = sizeof(struct nfsd4_compoundres), 3601 .pc_release = nfsd4_release_compoundargs, 3602 .pc_cachetype = RC_NOCACHE, 3603 .pc_xdrressize = NFSD_BUFSIZE/4, 3604 .pc_name = "COMPOUND", 3605 }, 3606}; 3607 3608static unsigned int nfsd_count3[ARRAY_SIZE(nfsd_procedures4)]; 3609const struct svc_version nfsd_version4 = { 3610 .vs_vers = 4, 3611 .vs_nproc = 2, 3612 .vs_proc = nfsd_procedures4, 3613 .vs_count = nfsd_count3, 3614 .vs_dispatch = nfsd_dispatch, 3615 .vs_xdrsize = NFS4_SVC_XDRSIZE, 3616 .vs_rpcb_optnl = true, 3617 .vs_need_cong_ctrl = true, 3618}; | 3600 .pc_ressize = sizeof(struct nfsd4_compoundres), 3601 .pc_release = nfsd4_release_compoundargs, 3602 .pc_cachetype = RC_NOCACHE, 3603 .pc_xdrressize = NFSD_BUFSIZE/4, 3604 .pc_name = "COMPOUND", 3605 }, 3606}; 3607 3608static unsigned int nfsd_count3[ARRAY_SIZE(nfsd_procedures4)]; 3609const struct svc_version nfsd_version4 = { 3610 .vs_vers = 4, 3611 .vs_nproc = 2, 3612 .vs_proc = nfsd_procedures4, 3613 .vs_count = nfsd_count3, 3614 .vs_dispatch = nfsd_dispatch, 3615 .vs_xdrsize = NFS4_SVC_XDRSIZE, 3616 .vs_rpcb_optnl = true, 3617 .vs_need_cong_ctrl = true, 3618}; |