OSDN Git Service

NFS: Add a helper nfs_client_for_each_server()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 27 Feb 2020 00:16:09 +0000 (19:16 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 12:34:30 +0000 (08:34 -0400)
commit3c9e502b59fbd243cfac7cc6c875e432d285102a
treec1d4536d91db8a63bbc8cbc4447323db679900a3
parent58ac3e59235f1fa174c6e9c5e69111a7b2fa2652
NFS: Add a helper nfs_client_for_each_server()

Add a helper nfs_client_for_each_server() to iterate through all the
filesystems that are attached to a struct nfs_client, and apply
a function to all the active ones.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/internal.h
fs/nfs/super.c