mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Copy from kern_lockf.c: remove extra check
This commit is contained in:
parent
dc6e1079e6
commit
5215e1ea12
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue