]> 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)
commit13e6ed2300fb83fbaec6b1fb10d9e2b4989e5eed
tree8f56b02e0c36bb22e89290f3c4514690cdb05287
parent71af6786c98de913f069bde3a3eb2401891b0218
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