]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit281664deea3c5f640ccecad6799d044aa52c5dc8
tree4fbc674f3e1e9b1218a8d028132376ca2ea9e477
parent35f1fc2c9972883fd5060e3a1a044998f2c25e37
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