Chengguang Xu 5b4c845ea4 xfs: fix potential memory leak in mount option parsing
When specifying string type mount option (e.g., logdev)
several times in a mount, current option parsing may
cause memory leak. Hence, call kfree for previous one
in this case.

Signed-off-by: Chengguang Xu <cgxu519@icloud.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2018-02-26 10:02:13 -08:00
..
2018-02-05 13:35:56 -08:00
2017-11-15 18:21:01 -08:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-04-03 15:18:17 -07:00
2018-01-31 10:18:00 -08:00
2018-01-31 10:18:00 -08:00
2018-01-31 10:18:00 -08:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:27 -07:00
2017-08-04 13:43:36 -07:00
2017-12-08 17:51:05 -08:00
2018-01-29 07:27:22 -08:00