From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: <linux-nfs@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Vineet Gupta <Vineet.Gupta1@synopsys.com>
Subject: [PATCH] NFS: Fix compile issue with !CONFIG_NFS_FSCACHE
Date: Fri, 21 Dec 2012 14:21:01 +0530 [thread overview]
Message-ID: <1356079861-2503-1-git-send-email-vgupta@synopsys.com> (raw)
In-Reply-To: <20121221083305.GB15226@liondog.tnic>
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 <vgupta@synopsys.com>
---
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)
{
--
1.7.4.1
prev parent reply other threads:[~2012-12-21 8:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 5:44 3.8 NFS build breakage with !CONFIG_NFS_FSCACHE Vineet Gupta
2012-12-21 8:33 ` Borislav Petkov
2012-12-21 8:51 ` Vineet Gupta [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356079861-2503-1-git-send-email-vgupta@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=Trond.Myklebust@netapp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).