mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
sysfs: Fix a copy-n-paste typo in comment
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
463e526083
commit
9fd5b1c906
@ -440,7 +440,7 @@ int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd)
|
||||
/**
|
||||
* sysfs_remove_one - remove sysfs_dirent from parent
|
||||
* @acxt: addrm context to use
|
||||
* @sd: sysfs_dirent to be added
|
||||
* @sd: sysfs_dirent to be removed
|
||||
*
|
||||
* Mark @sd removed and drop nlink of parent inode if @sd is a
|
||||
* directory. @sd is unlinked from the children list.
|
||||
|
Loading…
Reference in New Issue
Block a user