]> 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)
commit8de731bcb5d696fdf8001cadd8d8b481fb994750
tree4fbc674f3e1e9b1218a8d028132376ca2ea9e477
parent075c8c1b17b2ee9a42eb834a5b731b9f9906d95a
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