Commit f310273
committed
chore(uffd): fix stale comment and minor cleanups
- userfaultfd.go: correct the `case faulted` branch comment to refer to
the `removed` page state (previously claimed REMOVE marks the page as
`missing`) and drop the duplicated "a a" typo.
- userfaultfd.go: restore the colon in the "failed uffdio copy: %w"
error message that was lost when faultPage was refactored to return
(bool, error).
- fcversion: simplify HasFreePageReporting to a single boolean return.1 parent c8b3d63 commit f310273
2 files changed
Lines changed: 4 additions & 8 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
321 | | - | |
| 320 | + | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
17 | 13 | | |
0 commit comments