]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r323689
authorrmacklem <rmacklem@FreeBSD.org>
Sun, 1 Oct 2017 21:45:15 +0000 (21:45 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sun, 1 Oct 2017 21:45:15 +0000 (21:45 +0000)
commit6027f9baf47aee5def418c5a606ec4a188236297
treeea31f6093dd98303c776543e86303335159267b0
parent5c3b5a223da269a91b20184952ba2034e79368c2
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.
sys/fs/nfsclient/nfs_clrpcops.c