浏览代码

befs: fix up missed follow_link declaration change

We'd updated the prototype and the return value, but not the function
declaration itself.
Linus Torvalds 20 年之前
父节点
当前提交
db873896d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/befs/linuxvfs.c

+ 1 - 1
fs/befs/linuxvfs.c

@@ -461,7 +461,7 @@ befs_destroy_inodecache(void)
  * The data stream become link name. Unless the LONG_SYMLINK
  * The data stream become link name. Unless the LONG_SYMLINK
  * flag is set.
  * flag is set.
  */
  */
-static int
+static void *
 befs_follow_link(struct dentry *dentry, struct nameidata *nd)
 befs_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
 {
 	befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);
 	befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);