]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
NFSD check stateids against copy stateids
authorOlga Kornievskaia <olga.kornievskaia@gmail.com>
Fri, 6 Sep 2019 19:17:21 +0000 (15:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 9 Dec 2019 16:42:14 +0000 (11:42 -0500)
commitb7342204253aaa1ce8351e0d94b43f98c8706cee
tree8e689174c651f72f84ddd932f2ee5892d14c8622
parent624322f1adc58acd0b69f77a6ddc764207e97241
NFSD check stateids against copy stateids

Incoming stateid (used by a READ) could be a saved copy stateid.
Using the provided stateid, look it up in the list of copy_notify
stateids. If found, use the parent's stateid and parent's clid
to look up the parent's stid to do the appropriate checks.

Update the copy notify timestamp (cpntf_time) with current time
this making it 'active' so that laundromat thread will not delete
copy notify state.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
fs/nfsd/nfs4state.c