Re: [PATCH 1/1] fat:fix incorrect function comment

2012-12-19 Thread OGAWA Hirofumi
Ravishankar N writes: > /* > - * Return values: negative -> error, 0 -> not found, positive -> found, > - * value is the total amount of slots, including the shortname entry. > + * Return values: negative -> error/not found, 0 -> found. > */ > int fat_search_long(struct inode *inode, const

Re: [PATCH 1/1] fat:fix incorrect function comment

2012-12-19 Thread OGAWA Hirofumi
Ravishankar N cybera...@gmail.com writes: /* - * Return values: negative - error, 0 - not found, positive - found, - * value is the total amount of slots, including the shortname entry. + * Return values: negative - error/not found, 0 - found. */ int fat_search_long(struct inode *inode,

[PATCH 1/1] fat:fix incorrect function comment

2012-12-18 Thread Ravishankar N
fat_search_long() returns 0 on success, -ENOENT/ENOMEM on failure.Change the function comment accordingly. While at it, fix some trivial typos. modified: fs/fat/dir.c modified: fs/fat/inode.c modified: fs/fat/misc.c Signed-off-by: Ravishankar N Signed-off-by:

[PATCH 1/1] fat:fix incorrect function comment

2012-12-18 Thread Ravishankar N
fat_search_long() returns 0 on success, -ENOENT/ENOMEM on failure.Change the function comment accordingly. While at it, fix some trivial typos. modified: fs/fat/dir.c modified: fs/fat/inode.c modified: fs/fat/misc.c Signed-off-by: Ravishankar N cybera...@gmail.com