[PATCH] UBIFS: fix typos in comments

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: Adrian Hunter <ext-adrian.hunter@...>, Zoltan Sogor <weth@...>, Christoph Hellwig <hch@...>
Date: Wednesday, August 13, 2008 - 6:17 am

From: Adrian Hunter <ext-adrian.hunter@nokia.com>

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
---
 fs/ubifs/journal.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
index 0bcee7d..25de6fd 100644
--- a/fs/ubifs/journal.c
+++ b/fs/ubifs/journal.c
@@ -822,7 +822,7 @@ out_free:
 }
 
 /**
- * ubifs_jnl_write_inode - delete an inode.
+ * ubifs_jnl_delete_inode - delete an inode.
  * @c: UBIFS file-system description object
  * @inode: inode to delete
  *
@@ -831,21 +831,21 @@ out_free:
  * journal.
  *
  * When regular file inodes are unlinked or a directory inode is removed, the
- * 'ubifs_jnl_update()' function write corresponding deletion inode and
+ * 'ubifs_jnl_update()' function writes a corresponding deletion inode and
  * direntry to the media, and adds the inode to orphans. After this, when the
  * last reference to this inode has been dropped, this function is called. In
  * general, it has to write one more deletion inode to the media, because if
  * a commit happened between 'ubifs_jnl_update()' and
  * 'ubifs_jnl_delete_inode()', the deletion inode is not in the journal
- * anymore, and in fact it might be not on the flash anymore, becouse it might
- * have been garbage-collected already. And for optimization reasond UBIFS does
+ * anymore, and in fact it might not be on the flash anymore, because it might
+ * have been garbage-collected already. And for optimization reasons UBIFS does
  * not read the orphan area if it has been unmounted cleanly, so it would have
  * no indication in the journal that there is a deleted inode which has to be
  * removed from TNC.
  *
  * However, if there was no commit between 'ubifs_jnl_update()' and
  * 'ubifs_jnl_delete_inode()', then there is no need to write the deletion
- * inode to the media for the second time. And this is quite typical case.
+ * inode to the media for the second time. And this is quite a typical case.
  *
  * This function returns zero in case of success and a negative error code in
  * case of failure.
-- 
1.5.4.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
UBIFS updates for 2.6.27, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
Re: UBIFS updates for 2.6.27, Christoph Hellwig, (Thu Aug 14, 3:27 pm)
[PATCH] UBIFS: print pid in dump function, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: do not union creat_sqnum and del_cmtno, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: correct spelling of "thrice"., Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: always set i_generation to 0, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: remove another unneeded function parameter, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: support splice_write, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: improve debugging, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: free budget in delete_inode as well, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: ensure UBIFS switches to read-only on error, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: reserve more space for index, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: correct orphan deletion order, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: align inode data to eight, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: optimize deletions, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: fix typos in comments, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: improve budgeting checks, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: remove unneeded function parameter, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: do not write orphans back, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: increment commit number earlier, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: fix error return in failure mode, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: fix budgeting request alignment in xattr code, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: minor tweaks in commit, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: make ubifs_ro_mode() not inline, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] Documentation: fix typo in ubifs.txt, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: print volume name as well, Artem Bityutskiy, (Wed Aug 13, 6:17 am)
[PATCH] UBIFS: fix budgeting calculations, Artem Bityutskiy, (Wed Aug 13, 6:17 am)