]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix bogus FREAD with NFSV4OPEN_ACCESSREAD. No functional change.
authorRick Macklem <rmacklem@FreeBSD.org>
Sun, 17 Sep 2017 22:18:01 +0000 (22:18 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sun, 17 Sep 2017 22:18:01 +0000 (22:18 +0000)
commitccf038250afafeb8b2f934231977eb7c955cf0c5
tree962017c5ed4e47e01b0a52a429d9eecdf5f9cb6e
parentd11e86549eaf5dde7270b4326b54a96192cde5fa
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.

MFC after: 2 weeks
sys/fs/nfsclient/nfs_clrpcops.c