[PATCH] sysfs: Fix a copy-n-paste typo in comment

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg Kroah-Hartman <gregkh@...>
Cc: <linux-kernel@...>
Date: Tuesday, January 8, 2008 - 1:11 pm

Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
 fs/sysfs/dir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc7.orig/fs/sysfs/dir.c	2007-11-07 13:21:10.000000000 +0100
+++ linux-2.6.24-rc7/fs/sysfs/dir.c	2008-01-08 17:38:24.000000000 +0100
@@ -440,7 +440,7 @@ int sysfs_add_one(struct sysfs_addrm_cxt
 /**
  *	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.


-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sysfs: Fix a copy-n-paste typo in comment, Jean Delvare, (Tue Jan 8, 1:11 pm)