projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: implement REQ_FLUSH/FUA support for bio-based dm
[deliverable/linux.git]
/
drivers
/
md
/
dm-crypt.c
diff --git
a/drivers/md/dm-crypt.c
b/drivers/md/dm-crypt.c
index 368e8e98f7050e0fa5ddd7fa2220379681fdb04d..d5b0e4c0e7028b75296e23e1c2cbc409877ba565 100644
(file)
--- a/
drivers/md/dm-crypt.c
+++ b/
drivers/md/dm-crypt.c
@@
-1278,7
+1278,7
@@
static int crypt_map(struct dm_target *ti, struct bio *bio,
struct dm_crypt_io *io;
struct crypt_config *cc;
- if (
unlikely(bio_empty_barrier(bio))
) {
+ if (
bio->bi_rw & REQ_FLUSH
) {
cc = ti->private;
bio->bi_bdev = cc->dev->bdev;
return DM_MAPIO_REMAPPED;
This page took
0.036238 seconds
and
5
git commands to generate.