summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/smbfs')
-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