linux-mips
[Top] [All Lists]

2.4.30 do_readv_writev32 fix

To: linux-mips@linux-mips.org
Subject: 2.4.30 do_readv_writev32 fix
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 22 Apr 2005 19:25:30 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi.  Here is a patch to fix a bug introduced on 2.4.30 ...

--- linux-mips-2.4/arch/mips64/kernel/linux32.c 2005-04-18 11:44:19.000000000 
+0900
+++ linux-2.4/arch/mips64/kernel/linux32.c      2005-04-22 19:15:32.358642423 
+0900
@@ -1101,6 +1101,7 @@
         * specially as they have atomicity guarantees and can handle
         * iovec's natively
         */
+       inode = file->f_dentry->d_inode;
        if (inode->i_sock) {
                int err;
                err = sock_readv_writev(type, inode, file, iov, count, tot_len);

<Prev in Thread] Current Thread [Next in Thread>