aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2014-05-09 17:15:09 -0400
committerChris Mason <[email protected]>2014-06-09 17:20:22 -0700
commit774bcb35f0d9ccb9adfd3a391328cc25523659fc (patch)
treea4f6f0adf7068fbfe7f0f4bd066f09d045692902 /tools/perf/scripts/python/sched-migration.py
parent60e1975acb48fc3d74a3422b21dde74c977ac3d5 (diff)
btrfs: return ptr error from compression workspace
The btrfs compression wrappers translated errors from workspace allocation to either -ENOMEM or -1. The compression type workspace allocators are already returning a ERR_PTR(-ENOMEM). Just return that and get rid of the magical -1. This helps a future patch return errors from the compression wrappers. Signed-off-by: Zach Brown <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions