patch-2.3.99-pre4 linux/fs/autofs4/symlink.c

Next file: linux/fs/bad_inode.c
Previous file: linux/fs/autofs4/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/fs/autofs4/symlink.c linux/fs/autofs4/symlink.c
@@ -19,13 +19,11 @@
 	return vfs_readlink(dentry, buffer, buflen, ino->u.symlink);
 }
 
-static struct dentry * autofs4_follow_link(struct dentry *dentry,
-					  struct dentry *base,
-					  unsigned int flags)
+static int autofs4_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
 	struct autofs_info *ino = autofs4_dentry_ino(dentry);
 
-	return vfs_follow_link(dentry, base, flags, ino->u.symlink);
+	return vfs_follow_link(nd, ino->u.symlink);
 }
 
 struct inode_operations autofs4_symlink_inode_operations = {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)