summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-03-20 09:26:42 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-21 14:31:44 +0100
commit9304a8120a6ac06d08874d2aec76f52d3376dfe4 (patch)
treef067e5b999ae4e73d0639ef231aff63693e91f25 /include
parentSUNRPC: Kill compiler warning when RPC_DEBUG is unset (diff)
downloadlinux-9304a8120a6ac06d08874d2aec76f52d3376dfe4.tar.xz
linux-9304a8120a6ac06d08874d2aec76f52d3376dfe4.zip
nfs: non void functions must return a value
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 8f27c2e36ddf..69ec9cb3a867 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -413,6 +413,7 @@ extern void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption);
#else
static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh)
{
+ return 0;
}
static inline void nfs_display_fhandle(const struct nfs_fh *fh,
const char *caption)