]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r317576
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 14 May 2017 00:23:27 +0000 (00:23 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 14 May 2017 00:23:27 +0000 (00:23 +0000)
commit121d8abde305c073a32f68d37854a65cb92ae01d
treefe4d99f5022da5532c08da23413d0960541fd40f
parent4176930b9a8922c7b19f3e1717f7dce2dd8e2f48
MFC: r317576
Modify the NFSv4.1/pNFS client to ask for a maximum length of layout.

The code specified the length of a layout as INT64_MAX instead of
UINT64_MAX. This could result in getting a layout for less than the
full file for extremely large files. Although having little practical
effect, this patch corrects this in the code.
Detected during recent testing of the pNFS server.

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