2.4.30 do_readv_writev32 fix

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

 



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);


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux