projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6986ab5
)
Don't use nonexistent member of kdbus_pool_slice
author
Maciej Wereski
<m.wereski@partner.samsung.com>
Fri, 9 May 2014 07:24:05 +0000
(09:24 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Fri, 9 May 2014 08:06:35 +0000
(10:06 +0200)
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
pool.c
patch
|
blob
|
history
diff --git
a/pool.c
b/pool.c
index d896d9b0d85d171cadd7c11474a9028009999749..4267c54c93b4f37671b88869bc329f31ddc02d57 100644
(file)
--- a/
pool.c
+++ b/
pool.c
@@
-623,7
+623,7
@@
void kdbus_pool_slice_flush(const struct kdbus_pool_slice *slice)
#if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE == 1
struct address_space *mapping = slice->pool->f->f_mapping;
pgoff_t first = slice->off >> PAGE_CACHE_SHIFT;
- pgoff_t last = (slice->off + slice->
len
+
+ pgoff_t last = (slice->off + slice->
size
+
PAGE_CACHE_SIZE-1) >> PAGE_CACHE_SHIFT;
pgoff_t i;