diff options
author | liubo <[email protected]> | 2011-01-26 06:21:39 +0000 |
---|---|---|
committer | Chris Mason <[email protected]> | 2011-01-28 16:40:36 -0500 |
commit | 6b82ce8d824bd46053e46a895876cde39d9026e4 (patch) | |
tree | 756e869f3fc9a7baa320ca671d0174c5430c091a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | eab49bec41136460b12ac0fbeceeb88386d538c7 (diff) |
btrfs: fix uncheck memory allocation in btrfs_submit_compressed_read
btrfs_submit_compressed_read() is lack of memory allocation checks and
corresponding error route.
After this fix, if it comes to "no memory" case, errno will be returned
to userland step by step, and tell users this operation cannot go on.
Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions