mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
block: remove per-queue plugging
Code has been converted over to the new explicit on-stack plugging, and delay users have been converted to use the new API for that. So lets kill off the old plugging along with aops->sync_page(). Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
73c1010119
commit
7eaceaccab
119 changed files with 151 additions and 1269 deletions
|
|
@ -588,7 +588,6 @@ static sector_t ufs_bmap(struct address_space *mapping, sector_t block)
|
|||
const struct address_space_operations ufs_aops = {
|
||||
.readpage = ufs_readpage,
|
||||
.writepage = ufs_writepage,
|
||||
.sync_page = block_sync_page,
|
||||
.write_begin = ufs_write_begin,
|
||||
.write_end = generic_write_end,
|
||||
.bmap = ufs_bmap
|
||||
|
|
|
|||
|
|
@ -481,7 +481,7 @@ int ufs_truncate(struct inode *inode, loff_t old_i_size)
|
|||
break;
|
||||
if (IS_SYNC(inode) && (inode->i_state & I_DIRTY))
|
||||
ufs_sync_inode (inode);
|
||||
blk_run_address_space(inode->i_mapping);
|
||||
blk_flush_plug(current);
|
||||
yield();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue