public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org,
	reiserfs-dev@namesys.com
Subject: [PATCH] reiserfs calls set_bit on not-a-long integer which causes oops on 64bit arches.
Date: Thu, 3 Jan 2002 10:24:48 +0300	[thread overview]
Message-ID: <20020103102448.A2655@namesys.com> (raw)

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




                 reply	other threads:[~2002-01-03  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020103102448.A2655@namesys.com \
    --to=green@namesys.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=reiserfs-dev@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox