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
2018-02-22 14:41:25 -08:00
2018-01-01 12:45:37 -07:00
2017-05-08 17:15:13 -07:00
2017-11-15 18:21:01 -08:00
2017-11-06 11:53:41 -08:00
2017-10-11 10:21:06 -07:00
2017-06-27 18:23:21 -07:00
2018-01-29 07:27:23 -08:00
2017-08-31 09:31:47 -07:00
2017-10-26 15:38:22 -07:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-11-27 09:34:08 -08:00
2017-11-27 09:34:08 -08:00
2018-01-29 07:27:23 -08:00
2017-10-26 15:38:20 -07:00
2018-01-29 07:27:22 -08:00
2018-01-29 07:27:22 -08:00
2018-01-29 07:27:22 -08:00
2018-01-29 07:27:22 -08:00
2018-01-17 21:00:46 -08:00
2017-06-19 14:11:33 -07:00
2017-11-02 11:10:55 +01:00
2018-01-29 07:27:22 -08:00
2018-01-08 10:54:47 -08:00
2018-01-29 07:27:22 -08:00
2018-01-29 07:27:22 -08:00
2016-07-15 15:31:29 -04:00
2017-02-16 17:20:12 -08:00
2017-02-09 10:50:25 -08:00
2017-12-21 08:48:38 -08:00
2016-08-03 11:23:49 +10:00
2018-01-07 16:38:43 -05:00
2016-10-03 09:56:28 +11:00
2017-10-16 12:26:50 -07:00
2017-04-03 15:18:17 -07:00
2018-01-12 14:09:08 -08:00
2018-01-08 10:54:48 -08:00
2017-06-19 08:59:10 -07:00
2018-01-31 10:18:00 -08:00
2017-12-21 08:47:32 -08:00
2016-11-28 14:57:42 +11:00
2018-01-31 10:18:00 -08:00
2017-11-01 15:03:16 -07:00
2018-01-31 10:18:00 -08:00
2018-01-29 07:27:23 -08:00
2018-01-08 10:54:48 -08:00
2017-06-19 14:11:33 -07:00
2018-01-08 10:54:48 -08:00
2017-11-09 15:50:29 -08:00
2018-01-02 10:16:32 -08:00
2017-09-26 10:55:19 -07:00
2017-11-03 09:45:56 -07:00
2016-09-22 10:56:19 +02:00
2017-10-26 15:38:27 -07:00
2017-10-26 15:38:23 -07:00
2018-01-12 14:09:08 -08:00
2017-08-04 13:43:36 -07:00
2017-10-25 11:01:08 +02:00
2018-01-29 07:27:22 -08:00
2018-01-29 07:27:22 -08:00
2017-06-19 14:11:33 -07:00
2017-06-19 08:59:10 -07:00
2017-11-02 11:10:55 +01:00
2018-01-12 14:09:08 -08:00
2017-06-27 18:23:20 -07:00
2017-10-11 10:21:06 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-19 14:11:33 -07:00
2017-04-28 08:11:08 -07:00
2018-01-12 14:09:08 -08:00
2016-02-08 11:27:55 +11:00
2017-07-17 08:45:34 +01:00
2018-02-22 14:41:25 -08:00
2017-11-27 09:34:08 -08:00
2018-01-29 07:27:24 -08:00
2017-06-19 14:11:35 -07:00
2018-02-22 14:41:25 -08:00
2016-09-19 10:24:27 +10:00
2017-09-01 10:55:30 -07:00
2018-01-17 21:00:46 -08:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2018-02-26 10:02:13 -08:00
2018-02-01 21:06:15 -08:00
2017-12-08 17:51:05 -08:00
2017-06-20 10:45:22 -07:00
2016-10-05 16:26:28 -07:00
2017-06-19 08:59:10 -07:00
2017-06-27 18:23:21 -07:00
2016-05-18 10:58:51 +10:00
2017-12-08 17:51:05 -08:00
2018-01-12 14:09:08 -08:00
2017-11-01 15:03:16 -07:00
2017-06-19 08:59:10 -07:00
2018-01-29 07:27:22 -08:00
2016-02-08 11:27:55 +11:00
2016-09-19 10:30:52 +10:00
2018-01-29 06:42:21 -05:00
2017-08-22 09:22:23 -07:00
2016-10-03 09:11:22 -07:00
2017-06-19 14:11:33 -07:00
2018-01-08 10:54:47 -08:00
2018-01-29 07:27:22 -08:00
2016-12-05 12:32:14 +11:00
2017-11-06 11:53:58 -08:00