summaryrefslogtreecommitdiffstats
path: root/tools/pci/Build
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2020-11-18 09:21:26 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-11-18 09:23:51 -0800
commit595189c25c28a55523354336bf24453242c81c15 (patch)
tree0e78e103dbad5f448b4c99f416c50da1bb0a6af7 /tools/pci/Build
parent27c14b5daa82861220d6fa6e27b51f05f21ffaa7 (diff)
downloadlinux-stable-595189c25c28a55523354336bf24453242c81c15.tar.gz
linux-stable-595189c25c28a55523354336bf24453242c81c15.tar.bz2
linux-stable-595189c25c28a55523354336bf24453242c81c15.zip
xfs: return corresponding errcode if xfs_initialize_perag() fail
In xfs_initialize_perag(), if kmem_zalloc(), xfs_buf_hash_init(), or radix_tree_preload() failed, the returned value 'error' is not set accordingly. Reported-as-fixing: 8b26c5825e02 ("xfs: handle ENOMEM correctly during initialisation of perag structures") Fixes: 9b2471797942 ("xfs: cache unlinked pointers in an rhashtable") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/pci/Build')
0 files changed, 0 insertions, 0 deletions