diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-08-20 08:36:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:07 -0400 |
commit | 0333cd8a3f4249fde2c50929a6eac35245fc685b (patch) | |
tree | 782679dcb328100b33ccc96bb4cf0b45e8c072ef /fs | |
parent | 119dd52be33dfe6285f586ab7354897fdefc7e23 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/sysfs/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 92f407fb1263..ac7625631fcf 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c | |||
@@ -71,7 +71,7 @@ static int sysfs_get_sb(struct file_system_type *fs_type, | |||
71 | static struct file_system_type sysfs_fs_type = { | 71 | static struct file_system_type sysfs_fs_type = { |
72 | .name = "sysfs", | 72 | .name = "sysfs", |
73 | .get_sb = sysfs_get_sb, | 73 | .get_sb = sysfs_get_sb, |
74 | .kill_sb = kill_litter_super, | 74 | .kill_sb = kill_anon_super, |
75 | }; | 75 | }; |
76 | 76 | ||
77 | int __init sysfs_init(void) | 77 | int __init sysfs_init(void) |