]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix dentry refcounting in sysfs_remove_group()
authorAndrew Morton <akpm@osdl.org>
Thu, 18 Mar 2004 22:59:31 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 18 Mar 2004 22:59:31 +0000 (14:59 -0800)
commitb67cee68c51ee8b1b4be249a23efae16baa5e2e1
treeac5e961de566c115fc56a6f6740e8ab9ae2fc9b2
parentf8f71d1b1817ce9db7adf25da49a7f8cb3055a11
[PATCH] Fix dentry refcounting in sysfs_remove_group()

From: Maneesh Soni <maneesh@in.ibm.com>

The following patch fixes the dentry refcounting, during
sysfs_remove_group() and also adds the missing dput() for the "extra" ref
taken during sysfs_create() for the sub-directory dentry corresponding to
attribute group.
fs/sysfs/group.c