diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-30 10:44:02 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-31 07:13:25 -0500 |
commit | 80736d41f895bc472b2433a1c27fa6d4afe6ca35 (patch) | |
tree | 5f2f75f644d9a042a9132cd12692e6af7eced73c /fs/ubifs/lpt_commit.c | |
parent | 57a450e95932f7798677885b8a01443aca72fdc7 (diff) |
UBIFS: fix numerous spelling mistakes
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/lpt_commit.c')
-rw-r--r-- | fs/ubifs/lpt_commit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/lpt_commit.c b/fs/ubifs/lpt_commit.c index b8a060794239..96ca95707175 100644 --- a/fs/ubifs/lpt_commit.c +++ b/fs/ubifs/lpt_commit.c | |||
@@ -753,7 +753,7 @@ static void lpt_tgc_start(struct ubifs_info *c) | |||
753 | * LPT trivial garbage collection is where a LPT LEB contains only dirty and | 753 | * LPT trivial garbage collection is where a LPT LEB contains only dirty and |
754 | * free space and so may be reused as soon as the next commit is completed. | 754 | * free space and so may be reused as soon as the next commit is completed. |
755 | * This function is called after the commit is completed (master node has been | 755 | * This function is called after the commit is completed (master node has been |
756 | * written) and unmaps LPT LEBs that were marked for trivial GC. | 756 | * written) and un-maps LPT LEBs that were marked for trivial GC. |
757 | */ | 757 | */ |
758 | static int lpt_tgc_end(struct ubifs_info *c) | 758 | static int lpt_tgc_end(struct ubifs_info *c) |
759 | { | 759 | { |
@@ -1467,7 +1467,7 @@ void ubifs_lpt_free(struct ubifs_info *c, int wr_only) | |||
1467 | #ifdef CONFIG_UBIFS_FS_DEBUG | 1467 | #ifdef CONFIG_UBIFS_FS_DEBUG |
1468 | 1468 | ||
1469 | /** | 1469 | /** |
1470 | * dbg_is_all_ff - determine if a buffer contains only 0xff bytes. | 1470 | * dbg_is_all_ff - determine if a buffer contains only 0xFF bytes. |
1471 | * @buf: buffer | 1471 | * @buf: buffer |
1472 | * @len: buffer length | 1472 | * @len: buffer length |
1473 | */ | 1473 | */ |
@@ -1492,7 +1492,7 @@ static int dbg_is_nnode_dirty(struct ubifs_info *c, int lnum, int offs) | |||
1492 | struct ubifs_nnode *nnode; | 1492 | struct ubifs_nnode *nnode; |
1493 | int hght; | 1493 | int hght; |
1494 | 1494 | ||
1495 | /* Entire tree is in memory so first_nnode / next_nnode are ok */ | 1495 | /* Entire tree is in memory so first_nnode / next_nnode are OK */ |
1496 | nnode = first_nnode(c, &hght); | 1496 | nnode = first_nnode(c, &hght); |
1497 | for (; nnode; nnode = next_nnode(c, nnode, &hght)) { | 1497 | for (; nnode; nnode = next_nnode(c, nnode, &hght)) { |
1498 | struct ubifs_nbranch *branch; | 1498 | struct ubifs_nbranch *branch; |
@@ -1837,7 +1837,7 @@ int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) | |||
1837 | * This function dumps an LEB from LPT area. Nodes in this area are very | 1837 | * This function dumps an LEB from LPT area. Nodes in this area are very |
1838 | * different to nodes in the main area (e.g., they do not have common headers, | 1838 | * different to nodes in the main area (e.g., they do not have common headers, |
1839 | * they do not have 8-byte alignments, etc), so we have a separate function to | 1839 | * they do not have 8-byte alignments, etc), so we have a separate function to |
1840 | * dump LPT area LEBs. Note, LPT has to be locked by the coller. | 1840 | * dump LPT area LEBs. Note, LPT has to be locked by the caller. |
1841 | */ | 1841 | */ |
1842 | static void dump_lpt_leb(const struct ubifs_info *c, int lnum) | 1842 | static void dump_lpt_leb(const struct ubifs_info *c, int lnum) |
1843 | { | 1843 | { |