nfs4callback.c (0157d021d23a087eecfa830502f81cfe843f0d16) | nfs4callback.c (a613fa168afc19179a7547fbba45644c5b6912bf) |
---|---|
1/* 2 * Copyright (c) 2001 The Regents of the University of Michigan. 3 * All rights reserved. 4 * 5 * Kendrick Smith <kmsmith@umich.edu> 6 * Andy Adamson <andros@umich.edu> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 591 unchanged lines hidden (view full) --- 600 * in practice that appears to be what implementations use. The section 601 * 18.36.3 language is expected to be fixed in an erratum. 602 */ 603 .number = 1, 604 .nrprocs = ARRAY_SIZE(nfs4_cb_procedures), 605 .procs = nfs4_cb_procedures 606}; 607 | 1/* 2 * Copyright (c) 2001 The Regents of the University of Michigan. 3 * All rights reserved. 4 * 5 * Kendrick Smith <kmsmith@umich.edu> 6 * Andy Adamson <andros@umich.edu> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 591 unchanged lines hidden (view full) --- 600 * in practice that appears to be what implementations use. The section 601 * 18.36.3 language is expected to be fixed in an erratum. 602 */ 603 .number = 1, 604 .nrprocs = ARRAY_SIZE(nfs4_cb_procedures), 605 .procs = nfs4_cb_procedures 606}; 607 |
608static struct rpc_version *nfs_cb_version[] = { | 608static const struct rpc_version *nfs_cb_version[] = { |
609 &nfs_cb_version4, 610}; 611 | 609 &nfs_cb_version4, 610}; 611 |
612static struct rpc_program cb_program; | 612static const struct rpc_program cb_program; |
613 614static struct rpc_stat cb_stats = { 615 .program = &cb_program 616}; 617 618#define NFS4_CALLBACK 0x40000000 | 613 614static struct rpc_stat cb_stats = { 615 .program = &cb_program 616}; 617 618#define NFS4_CALLBACK 0x40000000 |
619static struct rpc_program cb_program = { | 619static const struct rpc_program cb_program = { |
620 .name = "nfs4_cb", 621 .number = NFS4_CALLBACK, 622 .nrvers = ARRAY_SIZE(nfs_cb_version), 623 .version = nfs_cb_version, 624 .stats = &cb_stats, 625 .pipe_dir_name = "nfsd4_cb", 626}; 627 --- 409 unchanged lines hidden --- | 620 .name = "nfs4_cb", 621 .number = NFS4_CALLBACK, 622 .nrvers = ARRAY_SIZE(nfs_cb_version), 623 .version = nfs_cb_version, 624 .stats = &cb_stats, 625 .pipe_dir_name = "nfsd4_cb", 626}; 627 --- 409 unchanged lines hidden --- |