* [PATCH] reiserfs calls set_bit on not-a-long integer which causes oops on 64bit arches.
@ 2002-01-03 7:24 Oleg Drokin
0 siblings, 0 replies; only message in thread
From: Oleg Drokin @ 2002-01-03 7:24 UTC (permalink / raw)
To: marcelo, linux-kernel, reiserfs-dev
[-- Attachment #1: Type: text/plain, Size: 139 bytes --]
Hello!
This patch fixes a problem for 64bit arches, because set_bit is only defined for long integers.
Please apply.
Bye,
Oleg
[-- Attachment #2: 64bit_fix.diff --]
[-- Type: text/plain, Size: 544 bytes --]
--- 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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-03 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-03 7:24 [PATCH] reiserfs calls set_bit on not-a-long integer which causes oops on 64bit arches Oleg Drokin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.