From patchwork Wed Apr 7 23:06:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Viro X-Patchwork-Id: 91190 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o37N6bae013689 for ; Wed, 7 Apr 2010 23:06:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756116Ab0DGXGK (ORCPT ); Wed, 7 Apr 2010 19:06:10 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:57510 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756048Ab0DGXGJ (ORCPT ); Wed, 7 Apr 2010 19:06:09 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.69 #1 (Red Hat Linux)) id 1NzeJz-00081x-Du; Wed, 07 Apr 2010 23:06:07 +0000 Date: Thu, 8 Apr 2010 00:06:07 +0100 From: Al Viro To: Linus Torvalds Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Maciej Rutecki , Andrew Morton , Kernel Testers List , Network Development , Linux ACPI , Linux PM List , Linux SCSI List , Linux Wireless List , DRI Subject: Re: 2.6.34-rc3-git6: Reported regressions from 2.6.33 Message-ID: <20100407230607.GM30031@ZenIV.linux.org.uk> References: <6Pphclm24fK.A.lSF.qsPvLB@chimera> <20100407221941.GL30031@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 07 Apr 2010 23:06:38 +0000 (UTC) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d79a7b3..fe0cd9e 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2068,8 +2068,7 @@ nfs4_open_revalidate(struct inode *dir, struct dentry *dentry, int openflags, st case -EDQUOT: case -ENOSPC: case -EROFS: - lookup_instantiate_filp(nd, (struct dentry *)state, NULL); - return 1; + return PTR_ERR(state); default: goto out_drop; }