Commit a996a1cc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] reiserfs: remove unneeded kunmap

From: Oleg Drokin <green@namesys.com>

There is a leftover kunmap in reiserfs_unprepare_pages() which was not
deleted after conversion to kmap_atomic.  This path is virtually never
executed, that's why it was not caught earlier.  Please apply.
parent 3bc19c2a
...@@ -555,7 +555,6 @@ void reiserfs_unprepare_pages(struct page **prepared_pages, /* list of locked pa ...@@ -555,7 +555,6 @@ void reiserfs_unprepare_pages(struct page **prepared_pages, /* list of locked pa
struct page *page = prepared_pages[i]; struct page *page = prepared_pages[i];
try_to_free_buffers(page); try_to_free_buffers(page);
kunmap(page);
unlock_page(page); unlock_page(page);
page_cache_release(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