diff options
Diffstat (limited to 'fs/ubifs/recovery.c')
-rw-r--r-- | fs/ubifs/recovery.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c index c14adb2f420c..c640938f62f0 100644 --- a/fs/ubifs/recovery.c +++ b/fs/ubifs/recovery.c | |||
@@ -596,7 +596,6 @@ static void drop_last_group(struct ubifs_scan_leb *sleb, int *offs) | |||
596 | * drop_last_node - drop the last node. | 596 | * drop_last_node - drop the last node. |
597 | * @sleb: scanned LEB information | 597 | * @sleb: scanned LEB information |
598 | * @offs: offset of dropped nodes is returned here | 598 | * @offs: offset of dropped nodes is returned here |
599 | * @grouped: non-zero if whole group of nodes have to be dropped | ||
600 | * | 599 | * |
601 | * This is a helper function for 'ubifs_recover_leb()' which drops the last | 600 | * This is a helper function for 'ubifs_recover_leb()' which drops the last |
602 | * node of the scanned LEB. | 601 | * node of the scanned LEB. |
@@ -629,8 +628,8 @@ static void drop_last_node(struct ubifs_scan_leb *sleb, int *offs) | |||
629 | * | 628 | * |
630 | * This function does a scan of a LEB, but caters for errors that might have | 629 | * This function does a scan of a LEB, but caters for errors that might have |
631 | * been caused by the unclean unmount from which we are attempting to recover. | 630 | * been caused by the unclean unmount from which we are attempting to recover. |
632 | * Returns %0 in case of success, %-EUCLEAN if an unrecoverable corruption is | 631 | * Returns the scanned information on success and a negative error code on |
633 | * found, and a negative error code in case of failure. | 632 | * failure. |
634 | */ | 633 | */ |
635 | struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, | 634 | struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, |
636 | int offs, void *sbuf, int jhead) | 635 | int offs, void *sbuf, int jhead) |