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

Oleg Drokin (green@namesys.com)
Thu, 3 Jan 2002 10:24:48 +0300


--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello!

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

Bye,
Oleg

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="64bit_fix.diff"

--- 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 */

--45Z9DzgjV8m4Oswq--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/