xfs: change kmem_free to use generic kvfree()
authorWang, Yalin <Yalin.Wang@sonymobile.com>
Sun, 1 Feb 2015 22:54:18 +0000 (09:54 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 1 Feb 2015 22:54:18 +0000 (09:54 +1100)
commitf3d215526e6955028dfbbfd446db8716275fb0c7
tree54746620d411e8ea2da4757615044c931e94813f
parent8add71ca3fd67c5f222622711f95cfd6cec2a996
xfs: change kmem_free to use generic kvfree()

Change kmem_free to use kvfree() generic function, remove the
duplicated code.

Signed-off-by: Yalin Wang <yalin.wang@sonymobile.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/kmem.c
fs/xfs/kmem.h