]> git.baikalelectronics.ru Git - kernel.git/commit
NFS/pnfs: Reference the layout cred in pnfs_prepare_layoutreturn()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 2 Apr 2020 19:37:02 +0000 (15:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 3 Apr 2020 22:29:10 +0000 (18:29 -0400)
commit22d68bb510a04c986124fa54f7646bce13b956c1
tree1bd9a768c10e9d65b44bdd3462a1d4af24c44a2a
parenta5b378d7d64e8180b04a1c126fab719038dd405c
NFS/pnfs: Reference the layout cred in pnfs_prepare_layoutreturn()

When we're sending a layoutreturn, ensure that we reference the
layout cred atomically with the copy of the stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c