summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/recovery.c
diff options
context:
space:
mode:
authorSeunghun Lee <waydi1@gmail.com>2014-07-01 23:45:25 +0900
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-19 09:53:51 +0300
commitd685c41215add974ea81085c655232a0d2bd774c (patch)
tree859ab9bd480897026ed899bc933124c192c39b5b /fs/ubifs/recovery.c
parentc7b5bb0beb80e5ee993118ae82d0b8264526b6bf (diff)
downloadlinux-d685c41215add974ea81085c655232a0d2bd774c.tar.gz
linux-d685c41215add974ea81085c655232a0d2bd774c.tar.bz2
linux-d685c41215add974ea81085c655232a0d2bd774c.zip
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/recovery.c')
-rw-r--r--fs/ubifs/recovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c
index c14adb2f420c..0214d62b7d56 100644
--- a/fs/ubifs/recovery.c
+++ b/fs/ubifs/recovery.c
@@ -629,8 +629,8 @@ static void drop_last_node(struct ubifs_scan_leb *sleb, int *offs)
*
* This function does a scan of a LEB, but caters for errors that might have
* been caused by the unclean unmount from which we are attempting to recover.
- * Returns %0 in case of success, %-EUCLEAN if an unrecoverable corruption is
- * found, and a negative error code in case of failure.
+ * Returns the scaned information on success and a negative error code on
+ * failure.
*/
struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum,
int offs, void *sbuf, int jhead)