diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index d8a256d3c83a..016c0c0226ed 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -434,13 +434,6 @@ int btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct inode *inode, | |||
434 | { | 434 | { |
435 | struct async_submit_bio *async; | 435 | struct async_submit_bio *async; |
436 | 436 | ||
437 | /* | ||
438 | * inline writerback should stay inline, only hop to the async | ||
439 | * queue if we're pdflush | ||
440 | */ | ||
441 | if (!current_is_pdflush()) | ||
442 | return submit_bio_hook(inode, rw, bio, mirror_num); | ||
443 | |||
444 | async = kmalloc(sizeof(*async), GFP_NOFS); | 437 | async = kmalloc(sizeof(*async), GFP_NOFS); |
445 | if (!async) | 438 | if (!async) |
446 | return -ENOMEM; | 439 | return -ENOMEM; |