diff options
Diffstat (limited to 'kernel/net/ceph/pagevec.c')
-rw-r--r-- | kernel/net/ceph/pagevec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/net/ceph/pagevec.c b/kernel/net/ceph/pagevec.c index 096d91447..d4f5f220a 100644 --- a/kernel/net/ceph/pagevec.c +++ b/kernel/net/ceph/pagevec.c @@ -51,10 +51,7 @@ void ceph_put_page_vector(struct page **pages, int num_pages, bool dirty) set_page_dirty_lock(pages[i]); put_page(pages[i]); } - if (is_vmalloc_addr(pages)) - vfree(pages); - else - kfree(pages); + kvfree(pages); } EXPORT_SYMBOL(ceph_put_page_vector); |