nfs4state.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | nfs4state.c (93b717fd81bf6b9a73c3702e9b079b4de8148b34) |
---|---|
1/* 2 * fs/nfs/nfs4state.c 3 * 4 * Client-side XDR for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 51 unchanged lines hidden (view full) --- 60#include "nfs4session.h" 61#include "pnfs.h" 62#include "netns.h" 63 64#define NFSDBG_FACILITY NFSDBG_STATE 65 66#define OPENOWNER_POOL_SIZE 8 67 | 1/* 2 * fs/nfs/nfs4state.c 3 * 4 * Client-side XDR for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 51 unchanged lines hidden (view full) --- 60#include "nfs4session.h" 61#include "pnfs.h" 62#include "netns.h" 63 64#define NFSDBG_FACILITY NFSDBG_STATE 65 66#define OPENOWNER_POOL_SIZE 8 67 |
68const nfs4_stateid zero_stateid; | 68const nfs4_stateid zero_stateid = { 69 .data = { 0 }, 70 .type = NFS4_SPECIAL_STATEID_TYPE, 71}; |
69static DEFINE_MUTEX(nfs_clid_init_mutex); 70 71int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) 72{ 73 struct nfs4_setclientid_res clid = { 74 .clientid = clp->cl_clientid, 75 .confirm = clp->cl_confirm, 76 }; --- 2383 unchanged lines hidden --- | 72static DEFINE_MUTEX(nfs_clid_init_mutex); 73 74int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) 75{ 76 struct nfs4_setclientid_res clid = { 77 .clientid = clp->cl_clientid, 78 .confirm = clp->cl_confirm, 79 }; --- 2383 unchanged lines hidden --- |