projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[cascardo/linux.git]
/
include
/
linux
/
bio.h
diff --git
a/include/linux/bio.h
b/include/linux/bio.h
index
e54305c
..
820e7aa
100644
(file)
--- a/
include/linux/bio.h
+++ b/
include/linux/bio.h
@@
-399,6
+399,9
@@
static inline bool bio_is_rw(struct bio *bio)
if (!bio_has_data(bio))
return false;
+ if (bio->bi_rw & REQ_WRITE_SAME)
+ return false;
+
return true;
}