ext2: set proper return code
authorChengguang Xu <cgxu519@gmx.com>
Tue, 1 Jan 2019 13:30:28 +0000 (21:30 +0800)
committerJan Kara <jack@suse.cz>
Tue, 22 Jan 2019 10:38:15 +0000 (11:38 +0100)
commit6a03e6a8dcf573dcb1621b50d6bfd2e1fa2bd8c0
treee2eeccbd3a83b850cc804363de51621981aa2ed5
parent49a57857aeea06ca831043acbb0fa5e0f50602fd
ext2: set proper return code

Set proper return code when failing from allocating
memory in ext2_fill_super().

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c