lkml.org 
[lkml]   [2002]   [Jan]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 3 Jan 2002 10:24:48 +0300
FromOleg Drokin <>
Subject[PATCH] reiserfs calls set_bit on not-a-long integer which causes oops on 64bit arches.
Hello!

   This patch fixes a problem for 64bit arches, because set_bit is only defined for long integers.
   Please apply.

Bye,
    Oleg
--- linux/include/linux/reiserfs_fs_sb.h.org	Wed Jan  2 15:45:20 2002
+++ linux/include/linux/reiserfs_fs_sb.h	Wed Jan  2 15:45:36 2002
@@ -407,7 +407,7 @@
 				/* To be obsoleted soon by per buffer seals.. -Hans */
     atomic_t s_generation_counter; // increased by one every time the
     // tree gets re-balanced
-    unsigned int s_properties;    /* File system properties. Currently holds
+    unsigned long s_properties;    /* File system properties. Currently holds
 				     on-disk FS format */
     
     /* session statistics */


\
 
 \ /
  Last update: 2005-03-22 12:15    [from the cache]
©2003-2008