From: Jérémy Cochoy Date: Mon, 30 Nov 2009 16:58:43 +0000 (+0100) Subject: ext2: fix comment in ext2_find_entry about return values X-Git-Tag: firefly_0821_release~9833^2~3891^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92e128884bf04fb155413a78f45be1d73dff75a7;p=firefly-linux-kernel-4.4.55.git ext2: fix comment in ext2_find_entry about return values Signed-off-by: Jérémy Cochoy Signed-off-by: Jan Kara --- diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 6cde970b0a1a..fc2bd05d3559 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c @@ -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,