aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayout.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2012-04-27 17:53:52 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-19 17:55:32 -0400
commitb4a2967e52523dbf0281b52c042f9042c6082f99 (patch)
treee35824780a7d474501af611161e4181e95b18691 /fs/nfs/nfs4filelayout.c
parent3a7936c3fc469c196d9163abfea6b7aa9572d443 (diff)
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.c')
-rw-r--r--fs/nfs/nfs4filelayout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c
index eb8eb00f3b52..eaaca897305c 100644
--- a/fs/nfs/nfs4filelayout.c
+++ b/fs/nfs/nfs4filelayout.c
@@ -196,6 +196,7 @@ static int filelayout_async_handle_error(struct rpc_task *task,
196 _pnfs_return_layout(state->inode); 196 _pnfs_return_layout(state->inode);
197 filelayout_mark_devid_invalid(devid); 197 filelayout_mark_devid_invalid(devid);
198 rpc_wake_up(&tbl->slot_tbl_waitq); 198 rpc_wake_up(&tbl->slot_tbl_waitq);
199 nfs4_ds_disconnect(clp);
199 /* fall through */ 200 /* fall through */
200 default: 201 default:
201 dprintk("%s Retry through MDS. Error %d\n", __func__, 202 dprintk("%s Retry through MDS. Error %d\n", __func__,