diff -rup linux-2.4.7-ac1/fs/reiserfs/bitmap.c linux-2.4.7-ac1.patched/fs/reiserfs/bitmap.c
--- linux-2.4.7-ac1/fs/reiserfs/bitmap.c        Wed May  2 14:04:15 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/bitmap.c        Fri Jul 27 22:12:25 2001
@@ -1,7 +1,6 @@
/*
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */
-#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/sched.h>
@@ -9,13 +8,6 @@
#include <linux/locks.h>
#include <asm/bitops.h>
#include <linux/list.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif
-

#ifdef CONFIG_REISERFS_CHECK

diff -rup linux-2.4.7-ac1/fs/reiserfs/buffer2.c linux-2.4.7-ac1.patched/fs/reiserfs/buffer2.c
--- linux-2.4.7-ac1/fs/reiserfs/buffer2.c       Tue Jan 16 02:31:19 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/buffer2.c       Fri Jul 27 22:12:25 2001
@@ -10,20 +10,12 @@
 *
 *  Copyright (C) 1991, 1992  Linus Torvalds
 */
-#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/sched.h>
#include <linux/locks.h>
#include <linux/reiserfs_fs.h>
#include <linux/smp_lock.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif
-

/*
 *  wait_buffer_until_released
diff -rup linux-2.4.7-ac1/fs/reiserfs/dir.c linux-2.4.7-ac1.patched/fs/reiserfs/dir.c
--- linux-2.4.7-ac1/fs/reiserfs/dir.c   Fri Jul 27 22:10:31 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/dir.c   Fri Jul 27 22:12:25 2001
@@ -2,8 +2,6 @@
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <linux/string.h>
#include <linux/errno.h>
@@ -12,12 +10,6 @@
#include <linux/stat.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

extern struct key  MIN_KEY;

diff -rup linux-2.4.7-ac1/fs/reiserfs/do_balan.c linux-2.4.7-ac1.patched/fs/reiserfs/do_balan.c
--- linux-2.4.7-ac1/fs/reiserfs/do_balan.c      Fri Jul 27 22:11:11 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/do_balan.c      Fri Jul 27 22:12:25 2001
@@ -16,20 +16,11 @@
 **
 **/

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <asm/uaccess.h>
#include <linux/sched.h>
#include <linux/reiserfs_fs.h>

-#else
-
-#include "nokernel.h"
-
-#endif
-
-
#ifdef CONFIG_REISERFS_CHECK

struct tree_balance * cur_tb = NULL; /* detects whether more than one
@@ -1915,13 +1906,6 @@ static inline void do_balance_starts (st
    if (check_before_balancing (tb))
       reiserfs_panic (tb->tb_sb, "PAP-12340: do_balance: locked buffers in TB");

-#ifndef __KERNEL__
-    if ( atomic_read(&(PATH_PLAST_BUFFER(tb->tb_path)->b_count)) > 1 || (tb->L[0] && atomic_read(&(tb->L[0]->b_count)) > 1) ||
-        (tb->R[0] && atomic_read(&(tb->R[0]->b_count)) > 1) ) {
-       print_cur_tb ("first three parameters are invalid");
-       reiserfs_panic (tb->tb_sb, "PAP-12345: do_balance: counter too big");
-    }
-#endif /* !__KERNEL__ */
    cur_tb = tb;

#endif /* CONFIG_REISERFS_CHECK */
diff -rup linux-2.4.7-ac1/fs/reiserfs/file.c linux-2.4.7-ac1.patched/fs/reiserfs/file.c
--- linux-2.4.7-ac1/fs/reiserfs/file.c  Fri Jul 27 22:11:11 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/file.c  Fri Jul 27 22:12:25 2001
@@ -3,17 +3,9 @@
 */


-#ifdef __KERNEL__
-
#include <linux/sched.h>
#include <linux/reiserfs_fs.h>
#include <linux/smp_lock.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

/*
** We pack the tails of files on file close, not at the time they are written.
diff -rup linux-2.4.7-ac1/fs/reiserfs/fix_node.c linux-2.4.7-ac1.patched/fs/reiserfs/fix_node.c
--- linux-2.4.7-ac1/fs/reiserfs/fix_node.c      Fri Jul 27 22:11:11 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/fix_node.c      Fri Jul 27 22:12:25 2001
@@ -35,21 +35,12 @@
 **/


-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/locks.h>
#include <linux/reiserfs_fs.h>

-#else
-
-#include "nokernel.h"
-
-#endif
-
-

/* To make any changes in the tree we find a node, that contains item
   to be changed/deleted or position in the node we insert a new item
@@ -2513,16 +2504,6 @@ int fix_nodes (int n_op_mode,
        if ( FILESYSTEM_CHANGED_TB (p_s_tb) )
            return REPEAT_SEARCH;
    }
-
-#ifndef __KERNEL__
-    if ( atomic_read (&(p_s_tbS0->b_count)) > 1 ||
-        (p_s_tb->L[0] && atomic_read (&(p_s_tb->L[0]->b_count)) > 1) ||
-        (p_s_tb->R[0] && atomic_read (&(p_s_tb->R[0]->b_count)) > 1) ) {
-       printk ("mode=%c, insert_size=%d\n", n_op_mode, p_s_tb->insert_size[0]);
-       print_cur_tb ("first three parameters are invalid");
-       reiserfs_panic (p_s_tb->tb_sb, "PAP-8310: fix_nodes: all buffers must be hold once in one thread processing");
-    }
-#endif

#ifdef CONFIG_REISERFS_CHECK
    if ( cur_tb ) {
diff -rup linux-2.4.7-ac1/fs/reiserfs/hashes.c linux-2.4.7-ac1.patched/fs/reiserfs/hashes.c
--- linux-2.4.7-ac1/fs/reiserfs/hashes.c        Mon Jan 15 23:42:32 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/hashes.c        Fri Jul 27 22:12:25 2001
@@ -26,10 +26,6 @@
#define FULLROUNDS 10          /* 32 is overkill, 16 is strong crypto */
#define PARTROUNDS 6           /* 6 gets complete mixing */

-#ifndef __KERNEL__
-typedef __u32 u32;
-#endif
-
/* a, b, c, d - data; h0, h1 - accumulated hash */
#define TEACORE(rounds)                                                        \
       do {                                                            \
diff -rup linux-2.4.7-ac1/fs/reiserfs/ibalance.c linux-2.4.7-ac1.patched/fs/reiserfs/ibalance.c
--- linux-2.4.7-ac1/fs/reiserfs/ibalance.c      Tue Jan 16 02:31:19 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/ibalance.c      Fri Jul 27 22:12:25 2001
@@ -2,20 +2,11 @@
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <asm/uaccess.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/reiserfs_fs.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif
-

/* this is one and only function that is used outside (do_balance.c) */
int    balance_internal (
diff -rup linux-2.4.7-ac1/fs/reiserfs/inode.c linux-2.4.7-ac1.patched/fs/reiserfs/inode.c
--- linux-2.4.7-ac1/fs/reiserfs/inode.c Fri Jul 27 22:11:11 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/inode.c Fri Jul 27 22:12:25 2001
@@ -1,7 +1,6 @@
/*
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */
-#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/sched.h>
@@ -9,12 +8,6 @@
#include <linux/locks.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

/* args for the create parameter of reiserfs_get_block */
#define GET_BLOCK_NO_CREATE 0 /* don't create new blocks or convert tails */
diff -rup linux-2.4.7-ac1/fs/reiserfs/ioctl.c linux-2.4.7-ac1.patched/fs/reiserfs/ioctl.c
--- linux-2.4.7-ac1/fs/reiserfs/ioctl.c Wed May  2 14:03:23 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/ioctl.c Fri Jul 27 22:12:25 2001
@@ -2,20 +2,12 @@
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */

-#ifdef __KERNEL__
-
#include <linux/fs.h>
#include <linux/reiserfs_fs.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#include <linux/smp_lock.h>
#include <linux/locks.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

/*
** reiserfs_ioctl - handler for ioctl for inode
diff -rup linux-2.4.7-ac1/fs/reiserfs/item_ops.c linux-2.4.7-ac1.patched/fs/reiserfs/item_ops.c
--- linux-2.4.7-ac1/fs/reiserfs/item_ops.c      Mon Jan 15 23:42:32 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/item_ops.c      Fri Jul 27 22:12:25 2001
@@ -2,18 +2,9 @@
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */

-#ifdef __KERNEL__
-
#include <linux/sched.h>
#include <linux/reiserfs_fs.h>

-#else
-
-#include "nokernel.h"
-
-#endif
-
-
// this contains item handlers for old item types: sd, direct,
// indirect, directory

@@ -46,14 +37,7 @@ static char * print_time (time_t t)
{
    static char timebuf[256];

-#ifndef __KERNEL__
-//    struct tm *loctime;
-//    loctime = localtime (&t);
-    sprintf (timebuf, "%s", asctime (localtime (&t)));
-    timebuf[strlen (timebuf) - 1] = 0;
-#else
    sprintf (timebuf, "%ld", t);
-#endif
    return timebuf;
}

diff -rup linux-2.4.7-ac1/fs/reiserfs/journal.c linux-2.4.7-ac1.patched/fs/reiserfs/journal.c
--- linux-2.4.7-ac1/fs/reiserfs/journal.c       Fri Jul 27 22:11:11 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/journal.c       Fri Jul 27 22:12:25 2001
@@ -44,8 +44,6 @@
** Updated to use complete_and_exit() GPL'd Red Hat 2001.
*/

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <asm/uaccess.h>
#include <asm/system.h>
@@ -65,13 +63,6 @@
#include <linux/smp_lock.h>
#include <linux/completion.h>

-#else
-
-#include "nokernel.h"
-
-#endif
-
-
/* the number of mounted filesystems.  This is used to decide when to
** start and kill the commit thread
*/
@@ -2329,7 +2320,6 @@ int journal_end_sync(struct reiserfs_tra
  return do_journal_end(th, p_s_sb, nblocks, COMMIT_NOW | WAIT) ;
}

-#ifdef __KERNEL__
int show_reiserfs_locks(void) {

  dump_journal_writers() ;
@@ -2349,7 +2339,6 @@ printk("journal lock is %d, join lock is
#endif
  return 0 ;
}
-#endif

/*
** used to get memory back from async commits that are floating around
diff -rup linux-2.4.7-ac1/fs/reiserfs/lbalance.c linux-2.4.7-ac1.patched/fs/reiserfs/lbalance.c
--- linux-2.4.7-ac1/fs/reiserfs/lbalance.c      Tue Jan 16 02:31:19 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/lbalance.c      Fri Jul 27 22:12:25 2001
@@ -2,19 +2,11 @@
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <asm/uaccess.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/reiserfs_fs.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

/* these are used in do_balance.c */

diff -rup linux-2.4.7-ac1/fs/reiserfs/namei.c linux-2.4.7-ac1.patched/fs/reiserfs/namei.c
--- linux-2.4.7-ac1/fs/reiserfs/namei.c Fri Jul 27 22:10:32 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/namei.c Fri Jul 27 22:12:25 2001
@@ -11,19 +11,11 @@
 * NO WARRANTY
 */

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/bitops.h>
#include <linux/reiserfs_fs.h>
#include <linux/smp_lock.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

                               /* there should be an overview right
                                   here, as there should be in every
diff -rup linux-2.4.7-ac1/fs/reiserfs/objectid.c linux-2.4.7-ac1.patched/fs/reiserfs/objectid.c
--- linux-2.4.7-ac1/fs/reiserfs/objectid.c      Wed May  2 14:04:15 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/objectid.c      Fri Jul 27 22:12:25 2001
@@ -1,19 +1,12 @@
/*
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */
-#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/string.h>
#include <linux/locks.h>
#include <linux/sched.h>
#include <linux/reiserfs_fs.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif


// find where objectid map starts
diff -rup linux-2.4.7-ac1/fs/reiserfs/prints.c linux-2.4.7-ac1.patched/fs/reiserfs/prints.c
--- linux-2.4.7-ac1/fs/reiserfs/prints.c        Fri Jun 22 14:21:32 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/prints.c        Fri Jul 27 22:12:25 2001
@@ -1,7 +1,6 @@
/*
 * Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
 */
-#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/sched.h>
@@ -9,13 +8,6 @@
#include <linux/reiserfs_fs.h>
#include <linux/string.h>

-#else
-
-#include "nokernel.h"
-#include <limits.h>
-
-#endif
-
#include <stdarg.h>

static char error_buf[1024];
@@ -324,17 +316,13 @@ extern struct tree_balance * cur_tb;

void reiserfs_panic (struct super_block * sb, const char * fmt, ...)
{
-#ifdef __KERNEL__
  show_reiserfs_locks() ;
-#endif
  do_reiserfs_warning;
  printk ("%s", error_buf);
  BUG ();
  // console_print (error_buf);
  // for (;;);

-#ifdef __KERNEL__
-
  /* comment before release */
  //for (;;);

@@ -354,9 +342,6 @@ void reiserfs_panic (struct super_block

  panic ("REISERFS: panic (device %s): %s\n",
        sb ? kdevname(sb->s_dev) : "sb == 0", error_buf);
-#else
-  exit (0);
-#endif
}


@@ -676,142 +661,6 @@ void print_cur_tb (char * mes)
{
    printk ("%s\n%s", mes, print_tb_buf);
}
-
-
-#ifndef __KERNEL__
-
-void print_bmap_block (int i, char * data, int size, int silent)
-{
-    int j, k;
-    int bits = size * 8;
-    int zeros = 0, ones = 0;
-
-
-    if (test_bit (0, data)) {
-       /* first block addressed by this bitmap block is used */
-       ones ++;
-       if (!silent)
-           printf ("Busy (%d-", i * bits);
-       for (j = 1; j < bits; j ++) {
-           while (test_bit (j, data)) {
-               ones ++;
-               if (j == bits - 1) {
-                   if (!silent)
-                       printf ("%d)\n", j + i * bits);
-                   goto end;
-               }
-               j++;
-           }
-           if (!silent)
-               printf ("%d) Free(%d-", j - 1 + i * bits, j + i * bits);
-
-           while (!test_bit (j, data)) {
-               zeros ++;
-               if (j == bits - 1) {
-                   if (!silent)
-                       printf ("%d)\n", j + i * bits);
-                   goto end;
-               }
-               j++;
-           }
-           if (!silent)
-               printf ("%d) Busy(%d-", j - 1 + i * bits, j + i * bits);
-
-           j --;
-       end:
-       }
-    } else {
-       /* first block addressed by this bitmap is free */
-       zeros ++;
-       if (!silent)
-           printf ("Free (%d-", i * bits);
-       for (j = 1; j < bits; j ++) {
-           k = 0;
-           while (!test_bit (j, data)) {
-               k ++;
-               if (j == bits - 1) {
-                   if (!silent)
-                       printf ("%d)\n", j + i * bits);
-                   zeros += k;
-                   goto end2;
-               }
-               j++;
-           }
-           zeros += k;
-           if (!silent)
-               printf ("%d) Busy(%d-", j - 1 + i * bits, j + i * bits);
-
-           k = 0;
-           while (test_bit (j, data)) {
-               ones ++;
-               if (j == bits - 1) {
-                   if (!silent)
-                       printf ("%d)\n", j + i * bits);
-                   ones += k;
-                   goto end2;
-               }
-               j++;
-           }
-           ones += k;
-           if (!silent)
-               printf ("%d) Busy(%d-", j - 1 + i * bits, j + i * bits);
-
-           j --;
-       end2:
-       }
-    }
-
-    printf ("used %d, free %d\n", ones, zeros);
-}
-
-
-/* if silent == 1, do not print details */
-void print_bmap (struct super_block * s, int silent)
-{
-    int bmapnr = SB_BMAP_NR (s);
-    int i;
-
-    printf ("Bitmap blocks are:\n");
-    for (i = 0; i < bmapnr; i ++) {
-       printf ("#%d: block %lu: ", i, SB_AP_BITMAP(s)[i]->b_blocknr);
-       print_bmap_block (i, SB_AP_BITMAP(s)[i]->b_data, s->s_blocksize, silent);
-    }
-
-}
-
-
-
-
-void print_objectid_map (struct super_block * s)
-{
-  int i;
-  struct reiserfs_super_block * rs;
-  unsigned long * omap;
-
-  rs = SB_DISK_SUPER_BLOCK (s);
-  omap = (unsigned long *)(rs + 1);
-  printk ("Map of objectids\n");
-
-  for (i = 0; i < rs->s_oid_cursize; i ++) {
-    if (i % 2 == 0)
-      printk ("busy(%lu-%lu) ", omap[i], omap[i+1] - 1);
-    else
-      printk ("free(%lu-%lu) ",
-             omap[i], ((i+1) == rs->s_oid_cursize) ? -1 : omap[i+1] - 1);
-    }
-  printk ("\n");
-
-  printk ("Object id array has size %d (max %d):", rs->s_oid_cursize,
-         rs->s_oid_maxsize);
-
-  for (i = 0; i < rs->s_oid_cursize; i ++)
-    printk ("%lu ", omap[i]);
-  printk ("\n");
-
-}
-
-#endif /* #ifndef __KERNEL__ */
-

static void check_leaf_block_head (struct buffer_head * bh)
{
diff -rup linux-2.4.7-ac1/fs/reiserfs/resize.c linux-2.4.7-ac1.patched/fs/reiserfs/resize.c
--- linux-2.4.7-ac1/fs/reiserfs/resize.c        Mon Jan 15 23:42:32 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/resize.c        Fri Jul 27 22:12:25 2001
@@ -8,8 +8,6 @@
 * The kernel part of the (on-line) reiserfs resizer.
 */

-#ifdef __KERNEL__
-
#include <linux/kernel.h>
#include <linux/vmalloc.h>
#include <linux/locks.h>
@@ -17,12 +15,6 @@
#include <linux/errno.h>
#include <linux/reiserfs_fs.h>
#include <linux/reiserfs_fs_sb.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif

int reiserfs_resize (struct super_block * s, unsigned long block_count_new)
{
diff -rup linux-2.4.7-ac1/fs/reiserfs/stree.c linux-2.4.7-ac1.patched/fs/reiserfs/stree.c
--- linux-2.4.7-ac1/fs/reiserfs/stree.c Fri Jul 27 22:10:32 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/stree.c Fri Jul 27 22:12:25 2001
@@ -52,7 +52,6 @@
 * reiserfs_paste_into_item
 * reiserfs_insert_item
 */
-#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/sched.h>
@@ -62,14 +61,6 @@
#include <linux/reiserfs_fs.h>
#include <linux/smp_lock.h>

-#else
-
-#include "nokernel.h"
-
-#endif
-
-
-
/* Does the buffer contain a disk block which is in the tree. */
inline int B_IS_IN_TREE (struct buffer_head * p_s_bh)
{
@@ -1212,10 +1203,6 @@ static char  prepare_for_delete_or_cut(
                   /* Block is locked or held more than by one holder and by
                       journal. */

-#ifndef __KERNEL__
-                   reiserfs_panic(p_s_sb, "PAP-5270: prepare_for_delete_or_cut: b_count != 1");
-#endif
-
#ifdef CONFIG_REISERFS_CHECK
                   if (n_repeat_counter && (n_repeat_counter % 100000) == 0) {
                     printk("prepare_for_delete, waiting on buffer %lu, b_count %d, %s%cJDIRTY %cJDIRTY_WAIT\n",
@@ -1280,11 +1267,9 @@ static char  prepare_for_delete_or_cut(
               }
#endif

-#ifdef __KERNEL__
               run_task_queue(&tq_disk);
               current->policy |= SCHED_YIELD;
               schedule();
-#endif
           }
           /* This loop can be optimized. */
       } while ( (*p_n_removed < n_unfm_number || need_research) &&
diff -rup linux-2.4.7-ac1/fs/reiserfs/super.c linux-2.4.7-ac1.patched/fs/reiserfs/super.c
--- linux-2.4.7-ac1/fs/reiserfs/super.c Wed Jul  4 13:45:55 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/super.c Fri Jul 27 22:12:25 2001
@@ -11,8 +11,6 @@
 * NO WARRANTY
 */

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <linux/module.h>
#include <linux/sched.h>
@@ -22,13 +20,6 @@
#include <linux/locks.h>
#include <linux/init.h>

-#else
-
-#include "nokernel.h"
-#include <stdlib.h> // for simple_strtoul
-
-#endif
-
#define SUPPORT_OLD_FORMAT

#define REISERFS_OLD_BLOCKSIZE 4096
@@ -866,8 +857,6 @@ int reiserfs_statfs (struct super_block
  return 0;
}

-#ifdef __KERNEL__
-
static DECLARE_FSTYPE_DEV(reiserfs_fs_type,"reiserfs",reiserfs_read_super);

//
@@ -890,8 +879,6 @@ static void __exit exit_reiserfs_fs(void

module_init(init_reiserfs_fs) ;
module_exit(exit_reiserfs_fs) ;
-
-#endif



diff -rup linux-2.4.7-ac1/fs/reiserfs/tail_conversion.c linux-2.4.7-ac1.patched/fs/reiserfs/tail_conversion.c
--- linux-2.4.7-ac1/fs/reiserfs/tail_conversion.c       Wed May  2 14:04:15 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/tail_conversion.c       Fri Jul 27 22:12:25 2001
@@ -2,20 +2,11 @@
 * Copyright 1999 Hans Reiser, see reiserfs/README for licensing and copyright details
 */

-#ifdef __KERNEL__
-
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/pagemap.h>
#include <linux/reiserfs_fs.h>
#include <linux/locks.h>
-
-#else
-
-#include "nokernel.h"
-
-#endif
-

/* access to tail : when one is going to read tail it must make sure, that is not running.
 direct2indirect and indirect2direct can not run concurrently */