From patchwork Thu Aug 26 09:16:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suresh Jayaraman X-Patchwork-Id: 133951 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7Q9D9A2026983 for ; Thu, 26 Aug 2010 09:16:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753594Ab0HZJQR (ORCPT ); Thu, 26 Aug 2010 05:16:17 -0400 Received: from cantor.suse.de ([195.135.220.2]:40084 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753531Ab0HZJQQ (ORCPT ); Thu, 26 Aug 2010 05:16:16 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 9223D74609; Thu, 26 Aug 2010 11:16:15 +0200 (CEST) Message-ID: <4C7630D9.7060203@suse.de> Date: Thu, 26 Aug 2010 14:46:09 +0530 From: Suresh Jayaraman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Thunderbird/3.0.6 MIME-Version: 1.0 To: joe hefner , Steve French Cc: linux-cifs@vger.kernel.org, Jeff Layton Subject: Re: Cannot allocate memory error on mount References: <514808.54527.qm@web56908.mail.re3.yahoo.com> In-Reply-To: <514808.54527.qm@web56908.mail.re3.yahoo.com> Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 26 Aug 2010 09:17:17 +0000 (UTC) diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 4bc47e5..86a164f 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -834,7 +834,7 @@ struct inode *cifs_root_iget(struct super_block *sb, unsigned long ino) xid, NULL); if (!inode) - return ERR_PTR(-ENOMEM); + return ERR_PTR(rc); #ifdef CONFIG_CIFS_FSCACHE /* populate tcon->resource_id */