diff options
author | liubo <liubo2009@cn.fujitsu.com> | 2011-01-26 07:21:39 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-01-28 22:40:36 +0100 |
commit | 6b82ce8d824bd46053e46a895876cde39d9026e4 (patch) | |
tree | 756e869f3fc9a7baa320ca671d0174c5430c091a /fs/btrfs/tree-log.c | |
parent | Merge branch 'bug-fixes' of git://repo.or.cz/linux-btrfs-devel into btrfs-38 (diff) | |
download | linux-6b82ce8d824bd46053e46a895876cde39d9026e4.tar.xz linux-6b82ce8d824bd46053e46a895876cde39d9026e4.zip |
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 <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions