nfs: non void functions must return a value
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 20 Mar 2012 08:26:42 +0000 (19:26 +1100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 21 Mar 2012 13:31:44 +0000 (09:31 -0400)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_fs.h

index 8f27c2e36ddfd164fa6239ccfab73e0f568dc8b3..69ec9cb3a867fa751e30bceeaed1b86d15adc7d4 100644 (file)
@@ -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)