From: Miklos Szeredi Date: Mon, 9 Feb 2004 11:04:22 +0000 (+0000) Subject: undo fix X-Git-Tag: fuse_1_1_post1~8 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=641402a7c82e2a48242f0ef851ec36737994d753;p=qemu-gpiodev%2Flibfuse.git undo fix --- 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