diff options
author | Chengguang Xu <cgxu519@mykernel.net> | 2019-10-23 15:56:43 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-10-24 09:24:40 +0200 |
commit | acd1f04679803af84e7ab76f37df30d8598b07b9 (patch) | |
tree | 56b9db6cac3d11df1dcc1d48e36f98dc33cc2cef /fs/reiserfs/reiserfs.h | |
parent | ext2: add missing brelse in ext2_new_blocks() (diff) | |
download | linux-acd1f04679803af84e7ab76f37df30d8598b07b9.tar.xz linux-acd1f04679803af84e7ab76f37df30d8598b07b9.zip |
ext2: return error when fail to allocating memory in ioctl
Currently, we do not check memory allocation
result for ei->i_block_alloc_info in ioctl,
this patch checks it and returns error in
failure case.
Link: https://lore.kernel.org/r/20191023135643.28837-1-cgxu519@mykernel.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/reiserfs.h')
0 files changed, 0 insertions, 0 deletions