--- linux-2.4.2-rsbac-1.1.1/rsbac/data_structures/aci_data_structures.c	Thu Mar 29 15:18:21 2001
+++ linux-2.4.3-rsbac-1.1.1/rsbac/data_structures/aci_data_structures.c	Tue Apr  3 11:44:05 2001
@@ -5517,8 +5514,12 @@
                       }
                   }
 
-                /* check for inode on disk */
+                /* check for inode on disk (but not for reiserfs, because of 64bit inode numbers) */
+                #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
                 if(sb_p)
+                #else
+                if(sb_p && !sb_p->s_op->read_inode2)
+                #endif
                   {
                     inode_p = iget(sb_p, fd_item_p->aci.id);
                     if(is_bad_inode(inode_p))
--- linux-2.4.2-rsbac-1.1.1/rsbac/data_structures/acl_data_structures.c	Fri Mar 23 11:49:56 2001
+++ linux-2.4.3-rsbac-1.1.1/rsbac/data_structures/acl_data_structures.c	Tue Apr  3 11:44:33 2001
@@ -6403,8 +6403,12 @@
             fd_item_p = head_p->head;
             while(fd_item_p)
               {
-                /* check for inode on disk */
+                /* check for inode on disk (but not for reiserfs, because of 64bit inode numbers) */
+                #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
                 if(sb_p)
+                #else
+                if(sb_p && !sb_p->s_op->read_inode2)
+                #endif
                   {
                     inode_p = iget(sb_p, fd_item_p->id);
                     if(is_bad_inode(inode_p))
--- linux-2.4.2-rsbac-1.1.1/rsbac/data_structures/auth_data_structures.c	Thu Mar 22 16:57:47 2001
+++ linux-2.4.3-rsbac-1.1.1/rsbac/data_structures/auth_data_structures.c	Tue Apr  3 11:44:54 2001
@@ -1850,8 +1850,12 @@
         f_item_p = head_p->head;
         while(f_item_p)
           {
-            /* check for inode on disk */
+            /* check for inode on disk (but not for reiserfs, because of 64bit inode numbers) */
+            #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
             if(sb_p)
+            #else
+            if(sb_p && !sb_p->s_op->read_inode2)
+            #endif
               {
                 inode_p = iget(sb_p, f_item_p->id);
                 if(is_bad_inode(inode_p))
