浏览代码

[XFS] Fix build warning - xfs_fs_alloc_inode() needs a return statement

SGI-PV: 988141

SGI-Modid: xfs-linux-melb:xfs-kern:32325a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Lachlan McIlroy 16 年之前
父节点
当前提交
493dca6178
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/xfs/linux-2.6/xfs_super.c

+ 1 - 0
fs/xfs/linux-2.6/xfs_super.c

@@ -872,6 +872,7 @@ xfs_fs_alloc_inode(
 	struct super_block	*sb)
 {
 	BUG();
+	return NULL;
 }
 
 /*