[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:
@@ -22,11 +22,11 @@
|
||||
#include "jfs_inode.h"
|
||||
#include "jfs_xattr.h"
|
||||
|
||||
static int jfs_follow_link(struct dentry *dentry, struct nameidata *nd)
|
||||
static void *jfs_follow_link(struct dentry *dentry, struct nameidata *nd)
|
||||
{
|
||||
char *s = JFS_IP(dentry->d_inode)->i_inline;
|
||||
nd_set_link(nd, s);
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct inode_operations jfs_symlink_inode_operations = {
|
||||
|
Reference in New Issue
Block a user