]> git.baikalelectronics.ru Git - kernel.git/commit
sysfs: introduce [__]sysfs_remove()
authorTejun Heo <tj@kernel.org>
Wed, 18 Sep 2013 21:15:38 +0000 (17:15 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 23:38:52 +0000 (16:38 -0700)
commit62a1d393c7be677b1d0af229a5a310662b3c0e5a
tree7240e1eddbcbddf59eb22d0d9ed14f18644ae738
parent6521213b3428e031826310c77f3ec0c6bd5dcf33
sysfs: introduce [__]sysfs_remove()

Given a sysfs_dirent, there is no reason to have multiple versions of
removal functions.  A function which removes the specified
sysfs_dirent and its descendants is enough.

This patch intorduces [__}sysfs_remove() which replaces all internal
variations of removal functions.  This will be the only removal
function in the planned new sysfs_dirent based interface.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/dir.c
fs/sysfs/group.c
fs/sysfs/inode.c
fs/sysfs/sysfs.h