[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:
@ -2491,11 +2491,11 @@ static int devfs_mknod(struct inode *dir, struct dentry *dentry, int mode,
|
||||
return 0;
|
||||
} /* End Function devfs_mknod */
|
||||
|
||||
static int devfs_follow_link(struct dentry *dentry, struct nameidata *nd)
|
||||
static void *devfs_follow_link(struct dentry *dentry, struct nameidata *nd)
|
||||
{
|
||||
struct devfs_entry *p = get_devfs_entry_from_vfs_inode(dentry->d_inode);
|
||||
nd_set_link(nd, p ? p->u.symlink.linkname : ERR_PTR(-ENODEV));
|
||||
return 0;
|
||||
return NULL;
|
||||
} /* End Function devfs_follow_link */
|
||||
|
||||
static struct inode_operations devfs_iops = {
|
||||
|
Reference in New Issue
Block a user