UBIFS: few commentary fixes

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
Artem Bityutskiy 2008-08-13 14:13:26 +03:00
parent 5acd6ff8ac
commit 0a883a05c5
2 changed files with 4 additions and 6 deletions

View file

@ -148,7 +148,7 @@ struct inode *ubifs_iget(struct super_block *sb, unsigned long inum)
if (err) if (err)
goto out_invalid; goto out_invalid;
/* Disable readahead */ /* Disable read-ahead */
inode->i_mapping->backing_dev_info = &c->bdi; inode->i_mapping->backing_dev_info = &c->bdi;
switch (inode->i_mode & S_IFMT) { switch (inode->i_mode & S_IFMT) {
@ -344,7 +344,7 @@ static void ubifs_delete_inode(struct inode *inode)
if (err) if (err)
/* /*
* Worst case we have a lost orphan inode wasting space, so a * 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", ubifs_err("can't delete inode %lu, error %d",
inode->i_ino, err); inode->i_ino, err);
@ -1683,10 +1683,10 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent)
} }
/* /*
* UBIFS provids 'backing_dev_info' in order to disable readahead. For * UBIFS provides 'backing_dev_info' in order to disable read-ahead. For
* UBIFS, I/O is not deferred, it is done immediately in readpage, * 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 * 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. * Read-ahead will be disabled because @c->bdi.ra_pages is 0.
*/ */

View file

@ -20,8 +20,6 @@
* Adrian Hunter * Adrian Hunter
*/ */
/* Implementation version 0.7 */
#ifndef __UBIFS_H__ #ifndef __UBIFS_H__
#define __UBIFS_H__ #define __UBIFS_H__