diff options
author | Seunghun Lee <waydi1@gmail.com> | 2014-07-01 23:45:25 +0900 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-19 09:53:51 +0300 |
commit | d685c41215add974ea81085c655232a0d2bd774c (patch) | |
tree | 859ab9bd480897026ed899bc933124c192c39b5b /fs/ubifs/scan.c | |
parent | c7b5bb0beb80e5ee993118ae82d0b8264526b6bf (diff) | |
download | linux-d685c41215add974ea81085c655232a0d2bd774c.tar.bz2 |
UBIFS: fix some comments
This patch fixes some comments about return type.
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/scan.c')
-rw-r--r-- | fs/ubifs/scan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ubifs/scan.c b/fs/ubifs/scan.c index e5b7c591841b..890d42c204b9 100644 --- a/fs/ubifs/scan.c +++ b/fs/ubifs/scan.c @@ -131,7 +131,8 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, * @offs: offset to start at (usually zero) * @sbuf: scan buffer (must be c->leb_size) * - * This function returns %0 on success and a negative error code on failure. + * This function returns the scaned information on success and a negative error + * code on failure. */ struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, int offs, void *sbuf) @@ -170,8 +171,6 @@ struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, * @sleb: scanning information * @lnum: logical eraseblock number * @offs: offset to start at (usually zero) - * - * This function returns %0 on success and a negative error code on failure. */ void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, int lnum, int offs) |