mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
vfs: fix copy-pasto in previous
Reported by: dchagin
This commit is contained in:
parent
6cf748ad94
commit
cdb337b097
1 changed files with 1 additions and 1 deletions
|
|
@ -3492,7 +3492,7 @@ retry:
|
|||
if (error != 0)
|
||||
goto out;
|
||||
|
||||
error = vn_truncate_locked(vp, 0, false, td->td_ucred);
|
||||
error = vn_truncate_locked(vp, length, false, td->td_ucred);
|
||||
out:
|
||||
VOP_UNLOCK(vp);
|
||||
vn_finished_write(mp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue