projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/Kconfig: move sysfs out
[firefly-linux-kernel-4.4.55.git]
/
fs
/
bio.c
diff --git
a/fs/bio.c
b/fs/bio.c
index 13be075806b6ea072322b93a01e16998dee81024..062299acbccddc2d8f808d6cb85722cdd9ef6d09 100644
(file)
--- a/
fs/bio.c
+++ b/
fs/bio.c
@@
-859,7
+859,7
@@
struct bio *bio_copy_user_iov(struct request_queue *q,
/*
* success
*/
- if (!write_to_vm) {
+ if (!write_to_vm
&& (!map_data || !map_data->null_mapped)
) {
ret = __bio_copy_iov(bio, bio->bi_io_vec, iov, iov_count, 0, 0);
if (ret)
goto cleanup;