Whamcloud - gitweb
release another lock and now it even unmounts.
authorbraam <braam>
Sun, 11 Mar 2001 01:20:22 +0000 (01:20 +0000)
committerbraam <braam>
Sun, 11 Mar 2001 01:20:22 +0000 (01:20 +0000)
lustre/include/linux/obd_support.h
lustre/include/linux/obdfs.h

index 9320f5c..a0b996c 100644 (file)
@@ -6,6 +6,14 @@
 #define MIN(a,b) (((a)<(b)) ? (a): (b))
 #define MAX(a,b) (((a)>(b)) ? (a): (b))
 
+#define obd_unlock_page(page)   do {    if (PageLocked(page)) { \
+                        UnlockPage(page);\
+                } else {\
+                        printk("file %s, line %d: expecting locked page\n",\
+                               __FILE__, __LINE__); \
+                }                       \
+} while(0)
+
 /*
  * Debug code
  */
index 6f60217..441ba81 100644 (file)
 #include <linux/list.h>
 
 
-#define obd_unlock_page(page)   do {    if (PageLocked(page)) { \
-                        UnlockPage(page);\
-                } else {\
-                        printk("file %s, line %d: expecting locked page\n",\
-                               __FILE__, __LINE__); \
-                }                       \
-} while(0)
 
 struct obdfs_pgrq {
         struct list_head         rq_plist;      /* linked list of req's */