OSDN Git Service

don't pass nameidata to ->follow_link()
[uclinux-h8/linux.git] / fs / configfs / symlink.c
index fac8e85..0ace756 100644 (file)
@@ -279,7 +279,7 @@ static int configfs_getlink(struct dentry *dentry, char * path)
 
 }
 
-static const char *configfs_follow_link(struct dentry *dentry, void **cookie, struct nameidata *nd)
+static const char *configfs_follow_link(struct dentry *dentry, void **cookie)
 {
        unsigned long page = get_zeroed_page(GFP_KERNEL);
        int error;