Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
7d25415
)
Provide page-aligned length to ftruncate.
15/10415/2
author
Igor Mikhailov (imichail)
<imichail@cisco.com>
Mon, 5 Feb 2018 20:09:36 +0000
(12:09 -0800)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Tue, 6 Feb 2018 10:35:04 +0000
(10:35 +0000)
For some files such as hugepages files, ftruncate() fails with the error
"Invalid argument" if the 'length' parameter is not on a page boundary.
Change-Id: I42a9cde98707da15e3c5d1653046e2277fc7a424
Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
No differences found