Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7d62ff2c
Commit
7d62ff2c
authored
Jul 23, 2008
by
Adrian Hunter
Committed by
Artem Bityutskiy
Aug 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBIFS: fix typos in comments
Signed-off-by:
Adrian Hunter
<
ext-adrian.hunter@nokia.com
>
parent
bc813355
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fs/ubifs/journal.c
fs/ubifs/journal.c
+5
-5
No files found.
fs/ubifs/journal.c
View file @
7d62ff2c
...
...
@@ -822,7 +822,7 @@ int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode)
}
/**
* ubifs_jnl_
wri
te_inode - delete an inode.
* ubifs_jnl_
dele
te_inode - delete an inode.
* @c: UBIFS file-system description object
* @inode: inode to delete
*
...
...
@@ -831,21 +831,21 @@ int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode)
* 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 write
s 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, beco
use it might
* have been garbage-collected already. And for optimization reason
d
UBIFS does
* anymore, and in fact it might
not be on the flash anymore, beca
use it might
* have been garbage-collected already. And for optimization reason
s
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment