2009-11-08 20:00:44

by root

[permalink] [raw]
Subject: [Patch] ext2 comment

Hi,

I just want to correct a mistake in comments, about ext2_find_entry.

--
diff -uNr a/fs/ext2/dir.c b/fs/ext2/dir.c
--- a/fs/ext2/dir.c 2009-11-08 20:20:06.000000000 +0100
+++ b/fs/ext2/dir.c 2009-11-04 19:16:58.000000000 +0100
@@ -353,8 +353,8 @@
* ext2_find_entry()
*
* finds an entry in the specified directory with the wanted name. It
- * returns the page in which the entry was found, and the entry itself
- * (as a parameter - res_dir). Page is returned mapped and unlocked.
+ * returns the page in which the entry was found (as a parameter - res_page),
+ * and the entry itself. Page is returned mapped and unlocked.
* Entry is guaranteed to be valid.
*/
struct ext2_dir_entry_2 *ext2_find_entry (struct inode * dir,

--
J?r?my Cochoy - L1 MI (Lyon1)
Mail : [email protected]
Tel : 06-43-01-74-02
Alias Zenol - http://zenol.fr