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
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,
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:
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
4 matches
Mail list logo