From eae86d1f13ac09785b7b5b8c1265cd2b035e6b0a Mon Sep 17 00:00:00 2001 From: eeb Date: Wed, 25 May 2005 15:05:59 +0000 Subject: [PATCH] * changed __clear_page_ll_data(page) to make page_cache_release(page) the last thing it does. --- lustre/include/linux/lustre_compat25.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 488a1c1..3007c0f 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -109,8 +109,8 @@ static inline int cleanup_group_info(void) #define __clear_page_ll_data(page) \ do { \ ClearPagePrivate(page); \ - page_cache_release(page); \ page->private = 0; \ + page_cache_release(page); \ } while(0) #define kiobuf bio -- 1.8.3.1