Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 12 Mar 2001 21:16:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 12 Mar 2001 21:16:08 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:9380 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Mon, 12 Mar 2001 21:16:03 -0500 Date: Mon, 12 Mar 2001 21:15:33 -0500 (EST) From: Alexander Viro To: Chris Mason cc: linux-kernel@vger.kernel.org Subject: Re: named pipe writes on readonly filesystems In-Reply-To: <517520000.984449174@tiny> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Mar 2001, Chris Mason wrote: > Hello everyone, > > Since fs/pipe.c:pipe_write() calls mark_inode_dirty, and it is legal to > write to a named pipe on a readonly filesystem, we can end up writing an > inode on a readonly FS. I would check that in pipe_write()... Cheers, Al - 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/