Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030191AbXADXHL (ORCPT ); Thu, 4 Jan 2007 18:07:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030257AbXADXHL (ORCPT ); Thu, 4 Jan 2007 18:07:11 -0500 Received: from smtp.osdl.org ([65.172.181.24]:34621 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030256AbXADXHJ (ORCPT ); Thu, 4 Jan 2007 18:07:09 -0500 Date: Thu, 4 Jan 2007 15:06:51 -0800 From: Andrew Morton To: Linus Torvalds Cc: Mitchell Blank Jr , Al Viro , Eric Sandeen , Linux Kernel Mailing List , Al Viro Subject: Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values Message-Id: <20070104150651.5bafddfc.akpm@osdl.org> In-Reply-To: References: <20070104105430.1de994a7.akpm@osdl.org> <20070104191451.GW17561@ftp.linux.org.uk> <20070104202412.GY17561@ftp.linux.org.uk> <20070104215206.GZ17561@ftp.linux.org.uk> <20070104223856.GA79126@gaz.sfgoth.com> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 26 On Thu, 4 Jan 2007 14:35:09 -0800 (PST) Linus Torvalds wrote: > Anybody want to send in the patch that just generates separate versions > for > > loff_t eio_llseek(struct file *file, loff_t offset, int origin) > { > return -EIO; > } > > int eio_readdir(struct file *filp, void *dirent, filldir_t filldir) > { > return -EIO; > .. > That's what I currently have queued. It increases bad_inode.o text from 200-odd bytes to 700-odd :( - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/