diff options
author | jhb <jhb@FreeBSD.org> | 2008-02-13 00:04:58 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-02-13 00:04:58 +0000 |
commit | e83bd487c4e08b9525923b1cfb1870fb16b86535 (patch) | |
tree | 0ef5649ac7717cfb42b956a31f3b920f3f25680c /sys/nfsclient/nfsm_subs.h | |
parent | 06a30b50ee14d137e2cf4755c15388c7e21ef5ed (diff) | |
download | FreeBSD-src-e83bd487c4e08b9525923b1cfb1870fb16b86535.zip FreeBSD-src-e83bd487c4e08b9525923b1cfb1870fb16b86535.tar.gz |
Consolidate the code to generate a new XID for a NFS request into a
nfs_xid_gen() function instead of duplicating the logic in both
nfsm_rpchead() and the NFS3ERR_JUKEBOX handling in nfs_request().
MFC after: 1 week
Submitted by: mohans (a long while ago)
Diffstat (limited to 'sys/nfsclient/nfsm_subs.h')
-rw-r--r-- | sys/nfsclient/nfsm_subs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfsm_subs.h b/sys/nfsclient/nfsm_subs.h index 62666a5..3dd817f 100644 --- a/sys/nfsclient/nfsm_subs.h +++ b/sys/nfsclient/nfsm_subs.h @@ -52,6 +52,7 @@ struct vnode; /* * First define what the actual subs. return */ +u_int32_t nfs_xid_gen(void); struct mbuf *nfsm_reqhead(struct vnode *vp, u_long procid, int hsiz); struct mbuf *nfsm_rpchead(struct ucred *cr, int nmflag, int procid, int auth_type, int auth_len, |