summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/llite/vvp_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/vvp_dev.c')
-rw-r--r--drivers/staging/lustre/lustre/llite/vvp_dev.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/llite/vvp_dev.c b/drivers/staging/lustre/lustre/llite/vvp_dev.c
index e35c1a1..08d9b2b6 100644
--- a/drivers/staging/lustre/lustre/llite/vvp_dev.c
+++ b/drivers/staging/lustre/lustre/llite/vvp_dev.c
@@ -498,7 +498,7 @@ static loff_t vvp_pgcache_find(const struct lu_env *env,
id.vpi_index = vmpage->index;
/* Cant support over 16T file */
nr = !(vmpage->index > 0xffffffff);
- page_cache_release(vmpage);
+ put_page(vmpage);
}
lu_object_ref_del(&clob->co_lu, "dump", current);
@@ -580,8 +580,7 @@ static int vvp_pgcache_show(struct seq_file *f, void *v)
lock_page(vmpage);
page = cl_vmpage_page(vmpage, clob);
unlock_page(vmpage);
-
- page_cache_release(vmpage);
+ put_page(vmpage);
}
seq_printf(f, "%8x@" DFID ": ", id.vpi_index,
OpenPOWER on IntegriCloud