summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust2008-01-26 07:06:40 +0100
committerTrond Myklebust2008-01-30 08:06:12 +0100
commit3fbd67ad61f6d5a09ea717b56c50bc5c3d8042a8 (patch)
treeffac0a032211517e9d0bc9ff21a09f8c21fdf1c3 /fs/nfs/internal.h
parentNFSv4: Deal more correctly with duplicate delegations (diff)
downloadkernel-qcow2-linux-3fbd67ad61f6d5a09ea717b56c50bc5c3d8042a8.tar.gz
kernel-qcow2-linux-3fbd67ad61f6d5a09ea717b56c50bc5c3d8042a8.tar.xz
kernel-qcow2-linux-3fbd67ad61f6d5a09ea717b56c50bc5c3d8042a8.zip
NFSv4: Iterate through all nfs_clients when the server recalls a delegation
The same delegation may have been handed out to more than one nfs_client. Ensure that if a recall occurs, we return all instances. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index a80621199086..0f5619611b8d 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -64,6 +64,7 @@ extern struct rpc_program nfs_program;
extern void nfs_put_client(struct nfs_client *);
extern struct nfs_client *nfs_find_client(const struct sockaddr *, u32);
+extern struct nfs_client *nfs_find_client_next(struct nfs_client *);
extern struct nfs_server *nfs_create_server(
const struct nfs_parsed_mount_data *,
struct nfs_fh *);