[PATCH] Fix up symlink function pointers
This fixes up the symlink functions for the calling convention change: * afs, autofs4, befs, devfs, freevxfs, jffs2, jfs, ncpfs, procfs, smbfs, sysvfs, ufs, xfs - prototype change for ->follow_link() * befs, smbfs, xfs - same for ->put_link() Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "vxfs_inode.h"
|
||||
|
||||
|
||||
static int vxfs_immed_follow_link(struct dentry *, struct nameidata *);
|
||||
static void * vxfs_immed_follow_link(struct dentry *, struct nameidata *);
|
||||
|
||||
static int vxfs_immed_readpage(struct file *, struct page *);
|
||||
|
||||
@@ -77,7 +77,7 @@ vxfs_immed_follow_link(struct dentry *dp, struct nameidata *np)
|
||||
{
|
||||
struct vxfs_inode_info *vip = VXFS_INO(dp->d_inode);
|
||||
nd_set_link(np, vip->vii_immed.vi_immed);
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user