Whamcloud - gitweb
land lustre part of b_hd_sec on HEAD.
[fs/lustre-release.git] / lustre / kernel_patches / patches / dcache-mds-num-2.6.7.patch
index d86d1b6..466235d 100644 (file)
@@ -1,8 +1,8 @@
 Index: linux-2.6.7/include/linux/dcache.h
 ===================================================================
---- linux-2.6.7.orig/include/linux/dcache.h    2004-08-30 17:20:57.000000000 +0800
-+++ linux-2.6.7/include/linux/dcache.h 2004-08-30 17:39:12.000000000 +0800
-@@ -94,6 +94,9 @@
+--- linux-2.6.7.orig/include/linux/dcache.h    2005-03-23 23:28:49.669799416 +0800
++++ linux-2.6.7/include/linux/dcache.h 2005-03-23 23:38:25.648237384 +0800
+@@ -86,6 +86,9 @@
        spinlock_t d_lock;              /* per dentry lock */
        struct inode *d_inode;          /* Where the name belongs to - NULL is
                                         * negative */
@@ -12,11 +12,12 @@ Index: linux-2.6.7/include/linux/dcache.h
        /*
         * The next three fields are touched by __d_lookup.  Place them here
         * so they all fit in a 16-byte range, with 16-byte alignment.
-@@ -166,6 +169,7 @@
+@@ -158,6 +161,8 @@
  #define DCACHE_UNHASHED               0x0010  
- #define DCACHE_LUSTRE_INVALID     0x0020  /* Lustre invalidated */
+ #define DCACHE_LUSTRE_INVALID 0x0020  /* invalidated by Lustre */
  
 +#define DCACHE_CROSS_REF       0x0040  /* entry points to inode on another MDS */
++
  extern spinlock_t dcache_lock;
  
+ /**