浏览代码

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>
Stephen Rothwell 13 年之前
父节点
当前提交
9304a8120a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/linux/nfs_fs.h

+ 1 - 0
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)