NFS: Move cl_state_owners and related fields to the nfs_server struct
commit24d292b894273495f9664bb495e575f8cb7e8cac
authorChuck Lever <chuck.lever@oracle.com>
Fri, 24 Dec 2010 01:32:43 +0000 (24 01:32 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jan 2011 19:47:57 +0000 (6 14:47 -0500)
tree5d2815f1e26c9616daa63cb117a6b28dff6266be
parentfca5238ef3232cd0cf4bf0457e751b3bb20912a9
NFS: Move cl_state_owners and related fields to the nfs_server struct

NFSv4 migration needs to reassociate state owners from the source to
the destination nfs_server data structures.  To make that easier, move
the cl_state_owners field to the nfs_server struct.  cl_openowner_id
and cl_lockowner_id accompany this move, as they are used in
conjunction with cl_state_owners.

The cl_lock field in the parent nfs_client continues to protect all
three of these fields.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c
include/linux/nfs_fs_sb.h