diff options
| author | Christoph Hellwig <[email protected]> | 2020-09-07 10:27:00 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-07 10:46:35 +0200 |
| commit | ab04de8ec235ab03573e7ef33b21c357ba248b5f (patch) | |
| tree | b6e2bfa2e0bd3d867228412ce203c7f589f7245f /tools/perf/scripts/python/bin | |
| parent | 947bece14b741ed339eda14db42cf3c357183501 (diff) | |
/dev/zero: fixups for ->read
Reported the cleared bytes in case of a partial clear_user instead
of -EFAULT, and remove a pointless conditional, as cleared must be
non-zero by the time we hit the signal_pending check.
Reported-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions