Displaying 2 results from an estimated 2 matches for "ocfs_compat".
2004 Jun 06
1
[PATCH] use sb_getblk
...BER(sb))
@@ -617,11 +612,7 @@
struct semaphore s_sem;
struct list_head s_list;
unsigned long s_blocknr;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
dev_t s_dev;
-#else
- kdev_t s_dev;
-#endif
atomic_t s_refcnt;
struct buffer_head *s_bh;
wait_queue_head_t s_wait;
Index: src/inc/ocfs_compat.h
===================================================================
--- src/inc/ocfs_compat.h (revision 1014)
+++ src/inc/ocfs_compat.h (working copy)
@@ -62,6 +62,11 @@
#define io_schedule schedule
#endif
+#define flush_scheduled_work flush_scheduled_tasks
+#define work_struct tq...
2004 Jun 03
0
[PATCH] provide io_schedule for 2.4
(vs format-changes branch)
--- src/inc/ocfs_compat.h (revision 994)
+++ src/inc/ocfs_compat.h (working copy)
@@ -52,6 +70,8 @@
#define unlock_page(p) UnlockPage(p)
#define Page_Uptodate(p) PageUptodate(p)
+#define io_schedule schedule
+
#else /* LINUX_VERSION_CODE < 2.6 */
#define OCFS_GENERIC_SB_MEMBER(sb) ((sb)->s_fs...