don't pass nameidata to ->follow_link()
[firefly-linux-kernel-4.4.55.git] / fs / libfs.c
index 0c83fde20dbdd78b82ce199c5da1465791ea33d8..c5f3373e326beaca2ee6246cdb17acde1a8c1102 100644 (file)
@@ -1091,7 +1091,7 @@ simple_nosetlease(struct file *filp, long arg, struct file_lock **flp,
 }
 EXPORT_SYMBOL(simple_nosetlease);
 
-const char *simple_follow_link(struct dentry *dentry, void **cookie, struct nameidata *nd)
+const char *simple_follow_link(struct dentry *dentry, void **cookie)
 {
        return d_inode(dentry)->i_link;
 }