Skip to contentSkip to conversation

reiserfs calls set_bit on not-a-long integer which causes oops on 64bit arches.

PATCH New Oleg Drokin 1 participant 1 message Jan 3, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

include/linux/reiserfs_fs_sb.h renamed from include/linux/reiserfs_fs_sb.h.org +1 -1
@@ -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 */