Files
linux/include
Benny Halevy 87df4de807 nfsd: last_byte_offset
refactor the nfs4 server lock code to use last_byte_offset
to compute the last byte covered by the lock.  Check for overflow
so that the last byte is set to NFS4_MAX_UINT64 if offset + len
wraps around.

Also, use NFS4_MAX_UINT64 for ~(u64)0 where appropriate.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-01-07 17:38:31 -05:00
..
2009-01-03 16:14:05 +10:30
2009-01-03 16:16:54 +10:30
2009-01-01 10:12:18 +10:30
2009-01-03 16:19:03 +10:30
2009-01-03 16:21:08 +10:30
2008-12-25 11:05:13 +11:00
2009-01-07 17:38:31 -05:00