summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayout.h
diff options
context:
space:
mode:
authorAndy Adamson2012-04-27 23:53:52 +0200
committerTrond Myklebust2012-05-19 23:55:32 +0200
commitb4a2967e52523dbf0281b52c042f9042c6082f99 (patch)
treee35824780a7d474501af611161e4181e95b18691 /fs/nfs/nfs4filelayout.h
parentNFSv4.1 ref count nfs_client across filelayout data server io (diff)
downloadkernel-qcow2-linux-b4a2967e52523dbf0281b52c042f9042c6082f99.tar.gz
kernel-qcow2-linux-b4a2967e52523dbf0281b52c042f9042c6082f99.tar.xz
kernel-qcow2-linux-b4a2967e52523dbf0281b52c042f9042c6082f99.zip
NFSv4.1 dereference a disconnected data server client record
When the last DS io is processed, the data server client record will be freed. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4filelayout.h')
-rw-r--r--fs/nfs/nfs4filelayout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4filelayout.h b/fs/nfs/nfs4filelayout.h
index 3259be60da92..95562ad43e12 100644
--- a/fs/nfs/nfs4filelayout.h
+++ b/fs/nfs/nfs4filelayout.h
@@ -146,5 +146,6 @@ extern void nfs4_fl_put_deviceid(struct nfs4_file_layout_dsaddr *dsaddr);
extern void nfs4_fl_free_deviceid(struct nfs4_file_layout_dsaddr *dsaddr);
struct nfs4_file_layout_dsaddr *
get_device_info(struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_flags);
+void nfs4_ds_disconnect(struct nfs_client *clp);
#endif /* FS_NFS_NFS4FILELAYOUT_H */