projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: use a btrfs bioset instead of abusing bio internals
[linux-2.6-block.git]
/
fs
/
btrfs
/
disk-io.c
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index 4e9ebe1f1827895712afdea8e0e8016bd20088ca..ca0ea99282109a95016ffddf99259d640dd42f84 100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/disk-io.c
@@
-3128,7
+3128,7
@@
static int write_dev_flush(struct btrfs_device *device, int wait)
* caller
*/
device->flush_bio = NULL;
- bio = bio_alloc(GFP_NOFS, 0);
+ bio = b
trfs_io_b
io_alloc(GFP_NOFS, 0);
if (!bio)
return -ENOMEM;