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
exofs: use bio_clone_fast in _write_mirror
[linux-2.6-block.git]
/
fs
/
exofs
/
ore.c
diff --git
a/fs/exofs/ore.c
b/fs/exofs/ore.c
index 1b8b44637e7065b9bc7ffdf17f0228fc84814860..5331a15a61f198fd8e897b582e3e48b9c9add993 100644
(file)
--- a/
fs/exofs/ore.c
+++ b/
fs/exofs/ore.c
@@
-873,8
+873,8
@@
static int _write_mirror(struct ore_io_state *ios, int cur_comp)
struct bio *bio;
if (per_dev != master_dev) {
- bio = bio_clone_
kmalloc
(master_dev->bio,
-
GFP_KERNE
L);
+ bio = bio_clone_
fast
(master_dev->bio,
+
GFP_KERNEL, NUL
L);
if (unlikely(!bio)) {
ORE_DBGMSG(
"Failed to allocate BIO size=%u\n",