f2fs: change error code to -ENOMEM from -EINVAL
authorChengguang Xu <cgxu519@gmx.com>
Tue, 1 Jan 2019 13:33:11 +0000 (21:33 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 8 Jan 2019 17:34:27 +0000 (09:34 -0800)
commitf365c6cc85b1d2348d73bf327258874fcc7ac161
treef833b79c71e7e1cf78468b2e1346495519ff8fc4
parent7c77bf7de1574ac7a31a2b76f4927404307d13e7
f2fs: change error code to -ENOMEM from -EINVAL

The error case of failing allocating memory should
return -ENOMEM.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c