fs/exofs: fix potential memory leak in mount option parsing
authorChengguang Xu <cgxu519@gmx.com>
Wed, 13 Jun 2018 04:05:13 +0000 (12:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2018 15:05:36 +0000 (16:05 +0100)
commitb2eafabc1583fc6c77c4e481a77ec58060c88eb4
treee47822137913e517332af52d87b51d0a6747991d
parent0330faf4b982df13c93979e906b5e6ac04f55ce6
fs/exofs: fix potential memory leak in mount option parsing

[ Upstream commit 515f1867addaba49c1c6ac73abfaffbc192c1db4 ]

There are some cases can cause memory leak when parsing
option 'osdname'.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/exofs/super.c