fs/exofs: fix potential memory leak in mount option parsing

[ Upstream commit 515f1867ad ]

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>
This commit is contained in:
Chengguang Xu 2018-06-13 12:05:13 +08:00 • committed by Greg Kroah-Hartman
commit 33df917736