[systemd-devel] [RFC 1/8] (bugfix) undefined member, len, in struct kdbus_pool_slice

AKASHI Takahiro takahiro.akashi at linaro.org
Wed Jun 25 02:13:30 PDT 2014


Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---
 pool.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pool.c b/pool.c
index d896d9b..4267c54 100644
--- 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;
 
-- 
1.7.9.5



More information about the systemd-devel mailing list