autofs: use autofs4_free_ino() to kfree dentry data
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 10 Sep 2016 10:34:23 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:23 +0000 (20:34 +1000)
commit396f40ce134a86d206ae0e07cb8facaf66f1c263
tree89d9fb4ab3ee306758da88b7458016a3ecb11d68
parent603c7412ef20dfaff79709ddf3f47a11020a3de7
autofs: use autofs4_free_ino() to kfree dentry data

kfree dentry data allocated by autofs4_new_ino() with autofs4_free_ino()
instead of raw kfree.  (since we have the interface to free autofs_info*)

This patch was modified to remove the need to set the dentry info field to
NULL dew to a change in the previous patch.

Link: http://lkml.kernel.org/r/20160812024805.12352.43650.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/autofs4/inode.c
This page took 0.036232 seconds and 5 git commands to generate.