diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2012-08-16 20:15:56 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-01-18 18:27:21 +0100 |
commit | 0db197d8b2d2ab7214a2425c3c646e970e4085c8 (patch) | |
tree | 916e30f5d9ef82a0e1286a9144a6c454e199d363 /mkfs.c | |
parent | 133e4520eab88ee11b31afa4cbb012afdb0bbc28 (diff) |
btrfs-progs: add malloc check in transaction.h/btrfs_start_transaction
For malloc may fail, we should check it before assign
values to the struct btrfs_trans_handle *h.
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Diffstat (limited to 'mkfs.c')
0 files changed, 0 insertions, 0 deletions