Commit:     0333cd8a3f4249fde2c50929a6eac35245fc685b
Parent:     119dd52be33dfe6285f586ab7354897fdefc7e23
Author:     Eric W. Biederman <[EMAIL PROTECTED]>
AuthorDate: Mon Aug 20 21:36:29 2007 +0900
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:51:07 2007 -0700

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
    Cc: Cornelia Huck <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 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 92f407f..ac76256 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,
 static struct file_system_type sysfs_fs_type = {
        .name           = "sysfs",
        .get_sb         = sysfs_get_sb,
-       .kill_sb        = kill_litter_super,
+       .kill_sb        = kill_anon_super,
 int __init sysfs_init(void)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to