commit | 6c370590cfe0c36bcd62d548148aa65c984540b7 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Sat Sep 02 09:54:23 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sun Sep 03 10:40:46 2017 -0700 |
tree | 6e8b5f8a968b8ac2c779978f920067213a6b922c | |
parent | 8353a814f2518dcfa79a5bb77afd0e7dfa391bb1 [diff] |
xfs: use kmem_free to free return value of kmem_zalloc In function xfs_test_remount_options(), kfree() is used to free memory allocated by kmem_zalloc(). But it is better to use kmem_free(). Signed-off-by: Pan Bian <bianpan2016@163.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>