diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-24 10:20:26 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-24 10:20:26 +0000 |
| commit | dc6e1079e601a36706827ffa8019895ecfd054fa (patch) | |
| tree | 44383bf8e74def250399abdee4a0fc179a6e8beb /sys/kern/kern_lockf.c | |
| parent | 7d1192a784013e018fff47eb882937dc88d6878d (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_lockf.c')
| -rw-r--r-- | sys/kern/kern_lockf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c index 53c6017739b7..ae2ebe96bb9f 100644 --- a/sys/kern/kern_lockf.c +++ b/sys/kern/kern_lockf.c @@ -149,8 +149,6 @@ lf_advlock(ap, head, size) if (oadd > OFF_MAX - start) return (EOVERFLOW); end = start + oadd; - if (end < start) - return (EINVAL); } /* * Avoid the common case of unlocking when inode has no locks. |
