OSDN Git Service

NFS: nfs_inode_find_state_and_recover() fix stateid matching
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 26 Oct 2019 14:16:15 +0000 (10:16 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:46 +0000 (21:28 -0500)
commit42c304c34e2d2c73d301b222418ac019918a1c59
tree32e45e49335bf719ca273fdbe2cd9b8402ea056e
parent3887ce1aac3a02df3d992cf82d0c644d26d64635
NFS: nfs_inode_find_state_and_recover() fix stateid matching

In nfs_inode_find_state_and_recover() we want to mark for recovery
only those stateids that match or are older than the supplied
stateid parameter.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c