summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorChuck Lever2010-12-24 02:32:32 +0100
committerTrond Myklebust2011-01-06 20:47:56 +0100
commitfca5238ef3232cd0cf4bf0457e751b3bb20912a9 (patch)
tree5b61da0d71e3e89b835d46a49e0f4945b5002cea /fs/nfs/nfs4_fs.h
parentpnfs: layout roc code (diff)
downloadkernel-qcow2-linux-fca5238ef3232cd0cf4bf0457e751b3bb20912a9.tar.gz
kernel-qcow2-linux-fca5238ef3232cd0cf4bf0457e751b3bb20912a9.tar.xz
kernel-qcow2-linux-fca5238ef3232cd0cf4bf0457e751b3bb20912a9.zip
NFS: Allow walking nfs_client.cl_superblocks list outside client.c
We're about to move some fields from struct nfs_client to struct nfs_server. There is a many-to-one relationship between nfs_servers and nfs_clients. After these fields are moved to the nfs_server struct, to visit all of the data in these fields that is owned by one nfs_client, code will need to visit each nfs_server on the cl_superblocks list for that nfs_client. To serialize changes to the cl_superblocks list during these little expeditions, protect the list with RCU. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
0 files changed, 0 insertions, 0 deletions