]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Simplify layout return in pnfs_layout_process()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 15 Apr 2021 21:33:07 +0000 (17:33 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 18 Apr 2021 19:10:53 +0000 (15:10 -0400)
commit29f63e3448ed37a2bdbff80a7c4adad74b32bacb
tree523b34b6026a46a5595722ba5c5914c94c6b9eaa
parentbcc2d3bc1de0f50480cf8b4caf31469ea0c64b61
NFSv4.1: Simplify layout return in pnfs_layout_process()

If the server hands us a layout that does not match the one we currently
hold, then have pnfs_mark_matching_lsegs_return() just ditch the old
layout if NFS_LSEG_LAYOUTRETURN is not set.

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