Searched hist:"595189 c25c28a55523354336bf24453242c81c15" (Results 1 – 1 of 1) sorted by relevance
/linux/fs/xfs/ |
H A D | xfs_mount.c | diff 595189c25c28a55523354336bf24453242c81c15 Wed Nov 18 18:21:26 CET 2020 Yu Kuai <yukuai3@huawei.com> 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>
|