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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment