Commit fcc1fcc3 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: fix memory leak in __invalidate_metapages

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent 15cb15de
...@@ -557,6 +557,7 @@ void __invalidate_metapages(struct inode *ip, s64 addr, int len) ...@@ -557,6 +557,7 @@ void __invalidate_metapages(struct inode *ip, s64 addr, int len)
if (page) { if (page) {
block_invalidatepage(page, 0); block_invalidatepage(page, 0);
unlock_page(page); unlock_page(page);
page_cache_release(page);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment