Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-620 llite: add delete_from_page_cache and remove_from_page_cache check
[fs/lustre-release.git]
/
lustre
/
llite
/
dir.c
diff --git
a/lustre/llite/dir.c
b/lustre/llite/dir.c
index
99398d6
..
4a8fc75
100644
(file)
--- a/
lustre/llite/dir.c
+++ b/
lustre/llite/dir.c
@@
-285,7
+285,7
@@
void ll_release_page(struct page *page, int remove)
if (remove) {
lock_page(page);
if (likely(page->mapping != NULL))
if (remove) {
lock_page(page);
if (likely(page->mapping != NULL))
-
ll_truncate_complete_page(
page);
+
truncate_complete_page(page->mapping,
page);
unlock_page(page);
}
page_cache_release(page);
unlock_page(page);
}
page_cache_release(page);