From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751391AbaBCIDe (ORCPT ); Mon, 3 Feb 2014 03:03:34 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:35147 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbaBCIDc (ORCPT ); Mon, 3 Feb 2014 03:03:32 -0500 Date: Mon, 3 Feb 2014 00:03:25 -0800 From: Christoph Hellwig To: Trond Myklebust Cc: Russell King - ARM Linux , Christoph Hellwig , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , Christoph Hellwig , linux-arm-kernel@lists.infradead.org Subject: Re: NFS client broken in Linus' tip Message-ID: <20140203080325.GB806@infradead.org> References: <20140130140834.GW15937@n2100.arm.linux.org.uk> <20140130141405.GA23985@infradead.org> <20140130142752.GX15937@n2100.arm.linux.org.uk> <20140130143208.GB9573@infradead.org> <20140130153812.GA15937@n2100.arm.linux.org.uk> <1391201970.6978.1.camel@leira.trondhjem.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1391201970.6978.1.camel@leira.trondhjem.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 31, 2014 at 03:59:30PM -0500, Trond Myklebust wrote: > posix_acl_xattr_get requires get_acl() to return EOPNOTSUPP if the > filesystem cannot support acls. This is needed for NFS, which can't > know whether or not the server supports acls until it tries to get/set > one. > This patch converts posix_acl_chmod and posix_acl_create to deal with > EOPNOTSUPP return values from get_acl(). Shouldn't NFS just return a NULL ACL here?