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
Merge branch 'stable/for-jens-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git]
/
lib
/
iov_iter.c
diff --git
a/lib/iov_iter.c
b/lib/iov_iter.c
index 28cb4315fe57374119559fc186f72373b8457535..0cd522753ff5c6830673e6d9f0cb46d70b4c9c23 100644
(file)
--- a/
lib/iov_iter.c
+++ b/
lib/iov_iter.c
@@
-101,7
+101,7
@@
#define iterate_and_advance(i, n, v, I, B, K) { \
if (unlikely(i->count < n)) \
n = i->count; \
- if (
n) {
\
+ if (
i->count) {
\
size_t skip = i->iov_offset; \
if (unlikely(i->type & ITER_BVEC)) { \
const struct bio_vec *bvec; \