summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-03-20 19:26:42 +1100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-03-21 09:31:44 -0400
commit9304a8120a6ac06d08874d2aec76f52d3376dfe4 (patch)
treef067e5b999ae4e73d0639ef231aff63693e91f25
parentb3b536a1230a14e3ef97e5331ba7ad036c6258a9 (diff)
downloadlinux-stable-9304a8120a6ac06d08874d2aec76f52d3376dfe4.tar.gz
linux-stable-9304a8120a6ac06d08874d2aec76f52d3376dfe4.tar.bz2
linux-stable-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>
-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)