From: =?ISO-8859-1?Q?Mika_Penttil=E4?= Subject: Re: Kernel bug: Bad page state: related to generic symlink code and mmap Date: Fri, 19 Aug 2005 22:50:12 +0300 Message-ID: <430637F4.2050402@kolumbus.fi> References: <1124450088.2294.31.camel@imp.csi.cam.ac.uk> <20050819142025.GA29811@parcelfarce.linux.theplanet.co.uk> <1124466246.2294.65.camel@imp.csi.cam.ac.uk> <20050819165332.GD29811@parcelfarce.linux.theplanet.co.uk> <20050819180218.GE29811@parcelfarce.linux.theplanet.co.uk> <4306301F.9060707@kolumbus.fi> <20050819194045.GG29811@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Linus Torvalds , Anton Altaparmakov , vandrove@vc.cvut.cz, Andrew Morton , linware@sh.cvut.cz, fsdevel , lkml Return-path: Received: from mail-gw2.turkuamk.fi ([195.148.208.126]:28805 "EHLO mail-gw2.turkuamk.fi") by vger.kernel.org with ESMTP id S965090AbVHSTtU convert rfc822-to-8bit (ORCPT ); Fri, 19 Aug 2005 15:49:20 -0400 To: Al Viro In-Reply-To: <20050819194045.GG29811@parcelfarce.linux.theplanet.co.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Al Viro wrote: >On Fri, Aug 19, 2005 at 10:16:47PM +0300, Mika Penttil=E4 wrote: > =20 > >>Just out of curiosity - what protects even local filesystems against=20 >>concurrent truncate and symlink resolving when using the page cache h= elpers? >> =20 >> > >How do you get truncate(2) or ftruncate(2) to do something with a syml= ink? >The former follows links, the latter takes an open file... >- >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/ > > =20 > Yes that is right, there is no way to invalidate the symlink inode=20 mapping page(s) from user space. --Mika - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html