This list has been deprecated. Please subscribe to the new devel list at 
lists.nfs-ganesha.org.
>From Frank Filz <ffilz...@mindspring.com>:

Frank Filz has uploaded this change for review. ( 
https://review.gerrithub.io/409093


Change subject: NFSv4: If lock offset plus length > max file size return 
NFS4ERR_BAD_RANGE
......................................................................

NFSv4: If lock offset plus length > max file size return NFS4ERR_BAD_RANGE

RFC 7530 specifies for 32 bit file systems that if offset plus length
is greater UINT32_MAX, then return NFS4ERR_BAD_RANGE. Since many of
the supported filesystems actually have a max file size of INT64_MAX
rather than UINT64_MAX, we will treat this condition the same.

Change-Id: I7a6a818a60f66dc84b43d9cbb148c8ec043a2bb4
Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>
---
M src/Protocols/NFS/nfs4_op_lock.c
M src/Protocols/NFS/nfs4_op_lockt.c
M src/Protocols/NFS/nfs4_op_locku.c
3 files changed, 59 insertions(+), 3 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/93/409093/1
--
To view, visit https://review.gerrithub.io/409093
To unsubscribe, or for help writing mail filters, visit 
https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a6a818a60f66dc84b43d9cbb148c8ec043a2bb4
Gerrit-Change-Number: 409093
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilz...@mindspring.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to