pNFS: When updating the stateid in layoutreturn, also update the recall range
authorTrond Myklebust <trondmy@gmail.com>
Thu, 16 Aug 2018 01:35:46 +0000 (21:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 16 Aug 2018 17:29:36 +0000 (13:29 -0400)
commitecf8402603d4df1278231439bbe5e92af4e02a17
treeceb2c93908a626259dca9fdbe006b90bf30ee490
parent8618289c46556fd4dd259a1af02ccc448032f48d
pNFS: When updating the stateid in layoutreturn, also update the recall range

When we update the layout stateid in nfs4_layoutreturn_refresh_stateid, we
should also update the range in order to let the server know we're actually
returning everything.

Fixes: 16c278dbfa63 ("pnfs: Fix handling of NFS4ERR_OLD_STATEID replies...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h