pNFS: Parse the results of layoutget on open even if permissions checks fail
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Jun 2018 16:45:53 +0000 (12:45 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:25 +0000 (16:25 -0400)
commitaf9b6d7570ca9afbbc6076ab7920d8f00f7e55c1
tree4fbc674f3e1e9b1218a8d028132376ca2ea9e477
parentb2b1ff3da6b27285c725eeb6f4c274da0a8e6a60
pNFS: Parse the results of layoutget on open even if permissions checks fail

Even if the results of the permissions checks failed, we should parse
the results of the layout on open call so that we can return the
layout if required.
Note that we also want to ignore the sequence counter for whether or not
a layout recall occurred. If the recall pertained to our OPEN, then the
callback will know, and will attempt to wait for us to finih processing
anyway.

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