]> 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)
commit3bc17ce30685cec718a356d7c45c97f0dd2ec7ab
treec1d4536d91db8a63bbc8cbc4447323db679900a3
parentcdd4e1667b4b27290e63749ed65549c17ed10503
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