]> 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)
commit12e9f4444f9c37fffd7e66ac8963a70e6814bdf9
tree1bd9a768c10e9d65b44bdd3462a1d4af24c44a2a
parent742d49a5c16f7342b0f8473dd4d99fd93c50c398
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