]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84cdd34528b07b55e9afb9ec77ac6fae624c83b9
treec1d4536d91db8a63bbc8cbc4447323db679900a3
parent293527b2e5dd36770e503b1529f694eb83171286
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