summaryrefslogtreecommitdiff
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-08-28 18:50:26 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-08-28 21:23:27 +0300
commit2e80dbe7ac51a911e8a828407b1a48c5ba938cd2 (patch)
tree696841c4bd2e1c5ef034436ad62ce8082963a730 /fs/nfs/callback_proc.c
parent07e8dcbda71ef87e9cbdc42b5bb16a44c1ab839b (diff)
downloadlinux-2e80dbe7ac51a911e8a828407b1a48c5ba938cd2.tar.xz
NFSv4.1: Close callback races for OPEN, LAYOUTGET and LAYOUTRETURN
Defer freeing the slot until after we have processed the results from OPEN and LAYOUTGET. This means that the server can rely on the mechanism in RFC5661 Section 2.10.6.3 to ensure that replies to an OPEN or LAYOUTGET/RETURN RPC call don't race with the callbacks that apply to them. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
0 files changed, 0 insertions, 0 deletions