Whamcloud - gitweb
Update journal callback patch so that we can tell if it is applied.
authoradilger <adilger>
Fri, 26 Apr 2002 15:59:27 +0000 (15:59 +0000)
committeradilger <adilger>
Fri, 26 Apr 2002 15:59:27 +0000 (15:59 +0000)
lustre/mds/mds_ext3.c
lustre/patches/patch-2.4.18

index 9c6bd38..ea01a0e 100644 (file)
@@ -195,6 +195,7 @@ static int mds_ext3_set_last_rcvd(struct mds_obd *mds, void *handle)
                (unsigned long long)mcb->cb_last_rcvd);
         journal_callback_set(handle, mds_ext3_callback_func, mcb);
 #else
+#warning "no journal callback kernel patch, faking it..."
         {
         static long next = 0;
 
index 93e371a..6a3a9bd 100644 (file)
        OUT_BYTE(0x00, IDE_FEATURE_REG);
 --- lum/include/linux/jbd.h.orig       Tue Apr 16 14:27:25 2002
 +++ lum/include/linux/jbd.h    Wed Apr 24 05:19:00 2002
-@@ -249,6 +249,12 @@
+@@ -249,6 +249,13 @@
        return bh->b_private;
  }
  
++#define HAVE_JOURNAL_CALLBACK
 +struct journal_callback {
 +      struct list_head jcb_list;
 +      void (*jcb_func)(void *);