sysfs: Use kill_anon_super
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 20 Aug 2007 12:36:29 +0000 (21:36 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:07 +0000 (14:51 -0700)
commit0333cd8a3f4249fde2c50929a6eac35245fc685b
tree782679dcb328100b33ccc96bb4cf0b45e8c072ef
parent119dd52be33dfe6285f586ab7354897fdefc7e23
sysfs: Use kill_anon_super

Since sysfs no longer stores fs directory information in the dcache
on a permanent basis kill_litter_super it is inappropriate and actively
wrong.  It will decrement the count on all dentries left in the
dcache before trying to free them.

At the moment this is not biting us only because we never unmount sysfs.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/mount.c