Whamcloud - gitweb
* changed __clear_page_ll_data(page) to make page_cache_release(page)
authoreeb <eeb>
Wed, 25 May 2005 15:05:59 +0000 (15:05 +0000)
committereeb <eeb>
Wed, 25 May 2005 15:05:59 +0000 (15:05 +0000)
     the last thing it does.

lustre/include/linux/lustre_compat25.h

index 488a1c1..3007c0f 100644 (file)
@@ -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