projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59fe27c
)
Plug memory leak in writeseg_end_io
author
Joern Engel
<joern@logfs.org>
Wed, 17 Mar 2010 14:29:38 +0000
(15:29 +0100)
committer
Joern Engel
<joern@logfs.org>
Sat, 27 Mar 2010 10:19:14 +0000
(11:19 +0100)
Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/dev_bdev.c
patch
|
blob
|
history
diff --git
a/fs/logfs/dev_bdev.c
b/fs/logfs/dev_bdev.c
index
f99f5dc
..
a5d0c56
100644
(file)
--- a/
fs/logfs/dev_bdev.c
+++ b/
fs/logfs/dev_bdev.c
@@
-80,6
+80,7
@@
static void writeseg_end_io(struct bio *bio, int err)
prefetchw(&bvec->bv_page->flags);
end_page_writeback(page);
+ page_cache_release(page);
} while (bvec >= bio->bi_io_vec);
bio_put(bio);
if (atomic_dec_and_test(&super->s_pending_writes))