Skip to content

Commit

Permalink
ext2: fix comment in ext2_find_entry about return values
Browse files Browse the repository at this point in the history
Signed-off-by: Jérémy Cochoy <jeremy.cochoy@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Jérémy Cochoy authored and Jan Kara committed Dec 10, 2009
1 parent 4cf46b6 commit 92e1288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ext2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ ext2_readdir (struct file * filp, void * dirent, filldir_t filldir)
* 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,
Expand Down

0 comments on commit 92e1288

Please sign in to comment.