]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r323689
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Oct 2017 23:21:24 +0000 (23:21 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Oct 2017 23:21:24 +0000 (23:21 +0000)
commitffa9534430a674464098af823050bdced404ebc4
treee15840dd8602e7e3dfbcc79ef68bf9e636061517
parent06d21d6c774dfe084ee761ce6e4ec590431f9668
MFC: r323689
Fix bogus FREAD with NFSV4OPEN_ACCESSREAD. No functional change.

The code in nfscl_doflayoutio() bogusly used FREAD instead of
NFSV4OPEN_ACCESSREAD. Since both happen to be defined as "1", this
worked and the patch doesn't result in a functional change.
Found by inspection during development of Flex File Layout support.

git-svn-id: svn://svn.freebsd.org/base/stable/10@324543 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clrpcops.c