summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-24 10:22:16 +0000
committerache <ache@FreeBSD.org>2001-08-24 10:22:16 +0000
commitee0b05dda768e2435897154124bff62627cdeb0b (patch)
treee077fdb72c6efc672fcbc71b29cbc6f5dcb7d5ab /sys
parent156b56921d508fff16e51ba2d7a2cde32ee688e1 (diff)
downloadFreeBSD-src-ee0b05dda768e2435897154124bff62627cdeb0b.zip
FreeBSD-src-ee0b05dda768e2435897154124bff62627cdeb0b.tar.gz
Copy from kern_lockf.c: remove extra check
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/smbfs/smbfs_vnops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c
index 011851b..3ca217f 100644
--- a/sys/fs/smbfs/smbfs_vnops.c
+++ b/sys/fs/smbfs/smbfs_vnops.c
@@ -1024,8 +1024,6 @@ smbfs_advlock(ap)
if (oadd > OFF_MAX - start)
return EOVERFLOW;
end = start + oadd;
- if (end < start)
- return EINVAL;
}
smb_makescred(&scred, p, p ? p->p_ucred : NULL);
switch (ap->a_op) {
OpenPOWER on IntegriCloud