Copy from kern_lockf.c: remove extra check
This commit is contained in:
parent
dc6e1079e6
commit
5215e1ea12
@ -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…
x
Reference in New Issue
Block a user