Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755509AbZLRTOP (ORCPT ); Fri, 18 Dec 2009 14:14:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751254AbZLRTON (ORCPT ); Fri, 18 Dec 2009 14:14:13 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:47327 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755383AbZLRTOM (ORCPT ); Fri, 18 Dec 2009 14:14:12 -0500 Date: Fri, 18 Dec 2009 19:14:04 +0000 From: Al Viro To: Davide Libenzi Cc: Roland Dreier , Linux Kernel Mailing List Subject: Re: [PATCH v2] anonfd: Make file read-only if fops->write is not set Message-ID: <20091218191404.GJ18217@ZenIV.linux.org.uk> References: <20091218061049.GI18217@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 540 Lines: 12 On Fri, Dec 18, 2009 at 10:59:00AM -0800, Davide Libenzi wrote: > > so would something like this make sense? if so I'll send follow-ups > > converting ia64 / perfmon and infiniband / uverbs to anon_inodes. > > Looks OK to me. fmode_t calculation looks ugly; I'll update and put into VFS tree -- 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/