aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-01 11:32:15 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-19 02:53:51 -0400
commitf2b6521aa11771e87f7357f1d5ceff8165fa0585 (patch)
tree9c3184e7c8d96d82501f31048c35457f46c74089 /fs/ubifs
parentd685c41215add974ea81085c655232a0d2bd774c (diff)
UBIFS: fix spelling of "scanned"
Randy Dunlap pointed that we should use "scanned" instead of "scaned". This patch makes the correction. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/recovery.c2
-rw-r--r--fs/ubifs/scan.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c
index 0214d62b7d56..f13f3b549563 100644
--- a/fs/ubifs/recovery.c
+++ b/fs/ubifs/recovery.c
@@ -629,7 +629,7 @@ static void drop_last_node(struct ubifs_scan_leb *sleb, int *offs)
629 * 629 *
630 * This function does a scan of a LEB, but caters for errors that might have 630 * 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. 631 * been caused by the unclean unmount from which we are attempting to recover.
632 * Returns the scaned information on success and a negative error code on 632 * Returns the scanned information on success and a negative error code on
633 * failure. 633 * failure.
634 */ 634 */
635struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, 635struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum,
diff --git a/fs/ubifs/scan.c b/fs/ubifs/scan.c
index 890d42c204b9..89adbc4d08ac 100644
--- a/fs/ubifs/scan.c
+++ b/fs/ubifs/scan.c
@@ -131,7 +131,7 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum,
131 * @offs: offset to start at (usually zero) 131 * @offs: offset to start at (usually zero)
132 * @sbuf: scan buffer (must be c->leb_size) 132 * @sbuf: scan buffer (must be c->leb_size)
133 * 133 *
134 * This function returns the scaned information on success and a negative error 134 * This function returns the scanned information on success and a negative error
135 * code on failure. 135 * code on failure.
136 */ 136 */
137struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, 137struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum,
@@ -257,7 +257,7 @@ void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs,
257 * @quiet: print no messages 257 * @quiet: print no messages
258 * 258 *
259 * This function scans LEB number @lnum and returns complete information about 259 * This function scans LEB number @lnum and returns complete information about
260 * its contents. Returns the scaned information in case of success and, 260 * its contents. Returns the scanned information in case of success and,
261 * %-EUCLEAN if the LEB neads recovery, and other negative error codes in case 261 * %-EUCLEAN if the LEB neads recovery, and other negative error codes in case
262 * of failure. 262 * of failure.
263 * 263 *