From: Neil Brown Subject: Re: nfsd bugfixes Date: Tue, 13 Nov 2007 09:08:42 +1100 Message-ID: <18232.52970.213438.902011@notabene.brown> References: <1194901503-23105-1-git-send-email-bfields@citi.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net, Linus Torvalds , linux-kernel@vger.kernel.org, stable@kernel.org To: "J. Bruce Fields" Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1IrhSc-0002Pn-Fr for nfs@lists.sourceforge.net; Mon, 12 Nov 2007 14:08:50 -0800 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IrhSh-0000Dt-22 for nfs@lists.sourceforge.net; Mon, 12 Nov 2007 14:08:56 -0800 In-Reply-To: message from J. Bruce Fields on Monday November 12 List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Monday November 12, bfields@citi.umich.edu wrote: > The following two patches are nfsd bugfixes that I believe are > appropriate for 2.6.24 and 2.6.23.y. > > --b. > Both Reviewed-By: NeilBrown Calling nfsd_setuser an extra time does open us up for a very tiny possibility of an ENOMEM at an awkward time. We could remove that entirely for NFSEXP_ALLSQUASH by allocating an empty group_info at export time and just using a reference to that. It would be more awkward to pre-allocate for the NFSEXP_ROOTSQUASH case as the group_info has to be at least as big as the one in the RPC request, and would could need a different one of each concurrent request.... not sure if that is worth "fixing". Thanks, NeilBrown ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs