From patchwork Fri Dec 21 08:51:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1902481 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id A974E3FC64 for ; Fri, 21 Dec 2012 08:59:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751445Ab2LUI7d (ORCPT ); Fri, 21 Dec 2012 03:59:33 -0500 Received: from us02smtp1.synopsys.com ([198.182.60.75]:45855 "EHLO vaxjo.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339Ab2LUI7d (ORCPT ); Fri, 21 Dec 2012 03:59:33 -0500 X-Greylist: delayed 485 seconds by postgrey-1.27 at vger.kernel.org; Fri, 21 Dec 2012 03:59:33 EST Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by vaxjo.synopsys.com (Postfix) with ESMTP id 30FE5DE66; Fri, 21 Dec 2012 00:51:28 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 1AA2BAC4; Fri, 21 Dec 2012 00:51:28 -0800 (PST) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 0D5A7AC3; Fri, 21 Dec 2012 00:51:28 -0800 (PST) Received: from IN01WEHTC2.internal.synopsys.com (10.144.199.212) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.2.298.4; Fri, 21 Dec 2012 00:51:28 -0800 Received: from localhost.localdomain (10.12.197.205) by in01wehtc2.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.2.298.4; Fri, 21 Dec 2012 14:21:23 +0530 From: Vineet Gupta To: Trond Myklebust CC: , , Vineet Gupta Subject: [PATCH] NFS: Fix compile issue with !CONFIG_NFS_FSCACHE Date: Fri, 21 Dec 2012 14:21:01 +0530 Message-ID: <1356079861-2503-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <20121221083305.GB15226@liondog.tnic> References: <20121221083305.GB15226@liondog.tnic> MIME-Version: 1.0 X-Originating-IP: [10.12.197.205] Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org fs/nfs/inode.c: In function `nfs_invalidate_mapping`: fs/nfs/inode.c:887: error: implicit declaration of function `nfs_fscache_wait_on_invalidate` Signed-off-by: Vineet Gupta --- fs/nfs/fscache.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h index 277b027..4ecb766 100644 --- a/fs/nfs/fscache.h +++ b/fs/nfs/fscache.h @@ -222,6 +222,7 @@ static inline void nfs_readpage_to_fscache(struct inode *inode, static inline void nfs_fscache_invalidate(struct inode *inode) {} +static inline void nfs_fscache_wait_on_invalidate(struct inode *inode) {} static inline const char *nfs_server_fscache_state(struct nfs_server *server) {