mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Stupid error from my side in prev. commit: || -> &&
This commit is contained in:
parent
e2870579fa
commit
f6bf1abc1b
2 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ nfs_dolock(ap)
|
|||
* on ranges, so we do it.
|
||||
*/
|
||||
if (fl->l_whence != SEEK_END) {
|
||||
if (fl->l_whence != SEEK_CUR || fl->l_whence != SEEK_SET ||
|
||||
if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
|
||||
fl->l_start < 0 ||
|
||||
(fl->l_len < 0 &&
|
||||
(fl->l_start == 0 || fl->l_start + fl->l_len < 0)))
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ nfs_dolock(ap)
|
|||
* on ranges, so we do it.
|
||||
*/
|
||||
if (fl->l_whence != SEEK_END) {
|
||||
if (fl->l_whence != SEEK_CUR || fl->l_whence != SEEK_SET ||
|
||||
if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
|
||||
fl->l_start < 0 ||
|
||||
(fl->l_len < 0 &&
|
||||
(fl->l_start == 0 || fl->l_start + fl->l_len < 0)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue