Re: BUG: at fs/reiserfs/inode.c:2868 reiserfs_releasepage()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/3/07, Rob Mueller <robm@xxxxxxxxxxx> wrote:
> This is linux 2.6.20.11 with one patch applied to work around this bug
> http://lists.linuxcoding.com/kernel/2006-q1/msg32508.html, the patch is:
>
> -----
> --- linux/fs/reiserfs/file.c   2006-11-29 16:57:37.000000000 -0500
> +++ linux-syncwrite/fs/reiserfs/file.c 2007-02-02 01:01:36.000000000 -0500
> @@ -1358,6 +1358,8 @@
>                 return result;
>         }
>
> +       return do_sync_write(file, buf, count, ppos);
> +
>         if (unlikely((ssize_t) count < 0))
>                 return -EINVAL;

that's the dead code than, because you put return upfront. this ain't
any fix, problem probably lies somewhere else - and is exposed by
'unlikely()' function.

-- 
GJ
-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux