Skip to content
Commit d0909905 authored by Chengguang Xu's avatar Chengguang Xu Committed by Jan Kara
Browse files

ext2: change return code to -ENOMEM when failing memory allocation



Change return code to -ENOMEM from -EINVAL when failing memory
allocation in fill_super(), meanwhile delete redundant initial
assignment of variable err.

Signed-off-by: default avatarChengguang Xu <cgxu519@icloud.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent b72e632c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment