]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4/pnfs: pnfs_set_layout_stateid() should update the layout cred
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 27 Jan 2020 18:07:26 +0000 (13:07 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 12:34:28 +0000 (08:34 -0400)
commit9c09587171dd885cf2ef949975da3e695d28a2fd
tree8f56b02e0c36bb22e89290f3c4514690cdb05287
parent850bec93953bed6dd4903b45582560293a7314bc
NFSv4/pnfs: pnfs_set_layout_stateid() should update the layout cred

If the cred assigned to the layout that we're updating differs from
the one used to retrieve the new layout segment, then we need to
update the layout plh_lc_cred field.

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