diff options
author | Benny Halevy <bhalevy@panasas.com> | 2008-12-15 18:42:03 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-07 23:38:31 +0100 |
commit | 87df4de8073f922a1f643b9fa6ba0412d5529ecf (patch) | |
tree | 8a7e5d7c5d531ac277c2e0026329f589ccdae101 /fs/binfmt_script.c | |
parent | nfsd: delete wrong file comment from nfsd/nfs4xdr.c (diff) | |
download | linux-87df4de8073f922a1f643b9fa6ba0412d5529ecf.tar.xz linux-87df4de8073f922a1f643b9fa6ba0412d5529ecf.zip |
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>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions