From 641402a7c82e2a48242f0ef851ec36737994d753 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 9 Feb 2004 11:04:22 +0000 Subject: [PATCH] undo fix --- ChangeLog | 5 ----- kernel/fuse_i.h | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5d6f7d6..97c281e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,3 @@ -2004-02-09 Miklos Szeredi - - * On 2.4 kernels if CONFIG_PREEMPT is defined use - i_size_read/write - 2004-02-06 Miklos Szeredi * Fixed writing >= 2G files diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h index afd13a4..803a11c 100644 --- a/kernel/fuse_i.h +++ b/kernel/fuse_i.h @@ -31,8 +31,7 @@ #include #include -/* Some 2.4 kernels may have with the preemptible kernel patch */ -#if !defined(KERNEL_2_6) && !defined(CONFIG_PREEMPT) +#ifndef KERNEL_2_6 #define i_size_read(inode) ((inode)->i_size) #define i_size_write(inode, size) do { (inode)->i_size = size; } while(0) #endif -- 2.30.2