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
0a883a05
Commit
0a883a05
authored
Aug 13, 2008
by
Artem Bityutskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBIFS: few commentary fixes
Signed-off-by:
Artem Bityutskiy
<
Artem.Bityutskiy@nokia.com
>
parent
5acd6ff8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
fs/ubifs/super.c
fs/ubifs/super.c
+4
-4
fs/ubifs/ubifs.h
fs/ubifs/ubifs.h
+0
-2
No files found.
fs/ubifs/super.c
View file @
0a883a05
...
...
@@ -148,7 +148,7 @@ struct inode *ubifs_iget(struct super_block *sb, unsigned long inum)
if
(
err
)
goto
out_invalid
;
/* Disable readahead */
/* Disable read
-
ahead */
inode
->
i_mapping
->
backing_dev_info
=
&
c
->
bdi
;
switch
(
inode
->
i_mode
&
S_IFMT
)
{
...
...
@@ -344,7 +344,7 @@ static void ubifs_delete_inode(struct inode *inode)
if
(
err
)
/*
* Worst case we have a lost orphan inode wasting space, so a
* simple error message is
ok
here.
* simple error message is
OK
here.
*/
ubifs_err
(
"can't delete inode %lu, error %d"
,
inode
->
i_ino
,
err
);
...
...
@@ -1683,10 +1683,10 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent)
}
/*
* UBIFS provid
s 'backing_dev_info' in order to disable read
ahead. For
* UBIFS provid
es 'backing_dev_info' in order to disable read-
ahead. For
* UBIFS, I/O is not deferred, it is done immediately in readpage,
* which means the user would have to wait not just for their own I/O
* but the readahead I/O as well i.e. completely pointless.
* but the read
-
ahead I/O as well i.e. completely pointless.
*
* Read-ahead will be disabled because @c->bdi.ra_pages is 0.
*/
...
...
fs/ubifs/ubifs.h
View file @
0a883a05
...
...
@@ -20,8 +20,6 @@
* Adrian Hunter
*/
/* Implementation version 0.7 */
#ifndef __UBIFS_H__
#define __UBIFS_H__
...
...
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