]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: permit layoutget of executable-only files
authorBenjamin Coddington <bcodding@redhat.com>
Tue, 19 Dec 2017 14:35:25 +0000 (09:35 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Dec 2017 20:24:19 +0000 (15:24 -0500)
commit50dd10901a5fd91c54c63b95e24f9b8a403b238e
tree5c006a322a578bf1d426ac1ccad10bb90f5835c1
parentfcb3644787e8e718c6fc57b97dc416ba9401d342
nfsd4: permit layoutget of executable-only files

Clients must be able to read a file in order to execute it, and for pNFS
that means the client needs to be able to perform a LAYOUTGET on the file.

This behavior for executable-only files was added for OPEN in commit
d68a1e734428 "nfsd4: permit read opens of executable-only files".

This fixes up xfstests generic/126 on block/scsi layouts.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c