From patchwork Sat Oct 11 21:52:16 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Beregalov X-Patchwork-Id: 4039 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 213E0DDDF6 for ; Sun, 12 Oct 2008 08:52:32 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753556AbYJKVw0 (ORCPT ); Sat, 11 Oct 2008 17:52:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754423AbYJKVw0 (ORCPT ); Sat, 11 Oct 2008 17:52:26 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:29358 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753556AbYJKVwZ (ORCPT ); Sat, 11 Oct 2008 17:52:25 -0400 Received: by fg-out-1718.google.com with SMTP id 19so742149fgg.17 for ; Sat, 11 Oct 2008 14:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=b8D9XaKaNOS0+mv+vF2Hp4/ZQmolaYU2wnRc/+uiE2s=; b=ZuvaPCyTVsFIDN7Z6t58LDn1JH2n3XhCqO/SO9/IRNHempTCU5hm/9gdstMCDdLR9Y ZuEVYimDj2Ien7o6GJqUJJJtLTS2XHlgL+Acpk+CVxJnzhvkD/2TE2AJdH+MBg+FDTF9 4FJuOlPwEzYdCHVLG+uhCinuJyV9SuG/X1uvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=CKlcZacoZZ8o8h4u1DvCmRQFDbYNcJR87oqKGHBPtX5PYkjKXTQESoHU0EeinT3vRY wu66ova4DlTILPuFlCqub4n/qgY6vfmg90MpedtFHpwDIayCBF7icAkHmuAJGQ3mCnMB V8MlPkLiQ+GmK1Dojsmv89A008Cfh5TdX+5kg= Received: by 10.86.82.6 with SMTP id f6mr3286400fgb.78.1223761943744; Sat, 11 Oct 2008 14:52:23 -0700 (PDT) Received: from @ (ppp91-76-45-236.pppoe.mtu-net.ru [91.76.45.236]) by mx.google.com with ESMTPS id 4sm5330370fgg.4.2008.10.11.14.52.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 14:52:22 -0700 (PDT) Date: Sun, 12 Oct 2008 01:52:16 +0400 From: Alexander Beregalov To: tytso@mit.edu, adilger@sun.com, linux-ext4@vger.kernel.org Subject: [PATCH] ext4/super: fix build failure without procfs Message-ID: <20081011215216.GB25563@orion> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org fs/ext4/super.c: In function 'ext4_fill_super': fs/ext4/super.c:2226: error: 'ext4_ui_proc_fops' undeclared (first use in this function) fs/ext4/super.c:2226: error: (Each undeclared identifier is reported only once fs/ext4/super.c:2226: error: for each function it appears in.) Signed-off-by: Alexander Beregalov --- fs/ext4/super.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 0e661c5..29823d4 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2218,6 +2218,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) goto failed_mount; } +#ifdef CONFIG_PROC_FS if (ext4_proc_root) sbi->s_proc = proc_mkdir(sb->s_id, ext4_proc_root); @@ -2225,6 +2226,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) proc_create_data("inode_readahead_blks", 0644, sbi->s_proc, &ext4_ui_proc_fops, &sbi->s_inode_readahead_blks); +#endif bgl_lock_init(&sbi->s_blockgroup_lock);