NFS/pnfs: Fix dereference of layout cred in pnfs_layoutcommit_inode()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 2 Apr 2020 19:47:08 +0000 (15:47 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 3 Apr 2020 22:29:10 +0000 (18:29 -0400)
commit97a728f5e2ad62a069dd395d3e516bb0acdbb3ec
treec240c8b8ca7f699643b626d3c7922b53b1ba3897
parentfc51b1cf391dd91ff9362861ed226ef51048e863
NFS/pnfs: Fix dereference of layout cred in pnfs_layoutcommit_inode()

Ensure that the dereference of the layout cred is atomic with the
stateid.

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