UBIFS: nuke pdflush from comments

The pdflush thread is long gone, so this patch removes references to pdflush
from UBIFS comments.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Artem Bityutskiy 2012-07-25 18:12:14 +03:00 committed by Al Viro
parent e76e0ec984
commit 5c57f20b82
2 changed files with 6 additions and 6 deletions

View File

@ -37,11 +37,11 @@
* *
* A thing to keep in mind: inode @i_mutex is locked in most VFS operations we * A thing to keep in mind: inode @i_mutex is locked in most VFS operations we
* implement. However, this is not true for 'ubifs_writepage()', which may be * implement. However, this is not true for 'ubifs_writepage()', which may be
* called with @i_mutex unlocked. For example, when pdflush is doing background * called with @i_mutex unlocked. For example, when flusher thread is doing
* write-back, it calls 'ubifs_writepage()' with unlocked @i_mutex. At "normal" * background write-back, it calls 'ubifs_writepage()' with unlocked @i_mutex.
* work-paths the @i_mutex is locked in 'ubifs_writepage()', e.g. in the * At "normal" work-paths the @i_mutex is locked in 'ubifs_writepage()', e.g.
* "sys_write -> alloc_pages -> direct reclaim path". So, in 'ubifs_writepage()' * in the "sys_write -> alloc_pages -> direct reclaim path". So, in
* we are only guaranteed that the page is locked. * 'ubifs_writepage()' we are only guaranteed that the page is locked.
* *
* Similarly, @i_mutex is not always locked in 'ubifs_readpage()', e.g., the * Similarly, @i_mutex is not always locked in 'ubifs_readpage()', e.g., the
* read-ahead path does not lock it ("sys_read -> generic_file_aio_read -> * read-ahead path does not lock it ("sys_read -> generic_file_aio_read ->

View File

@ -303,7 +303,7 @@ static int ubifs_write_inode(struct inode *inode, struct writeback_control *wbc)
mutex_lock(&ui->ui_mutex); mutex_lock(&ui->ui_mutex);
/* /*
* Due to races between write-back forced by budgeting * Due to races between write-back forced by budgeting
* (see 'sync_some_inodes()') and pdflush write-back, the inode may * (see 'sync_some_inodes()') and background write-back, the inode may
* have already been synchronized, do not do this again. This might * have already been synchronized, do not do this again. This might
* also happen if it was synchronized in an VFS operation, e.g. * also happen if it was synchronized in an VFS operation, e.g.
* 'ubifs_link()'. * 'ubifs_link()'.