From 8ab057f5e4150affe44a630c53a113e74618ab09 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 8 Jan 2017 18:58:29 +0100 Subject: kernel: remove yaffs2 support, it is no longer needed Signed-off-by: Felix Fietkau --- ...yaffs2-using-new-follow_link-and-put_link.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 target/linux/generic/patches-4.4/506-yaffs2-using-new-follow_link-and-put_link.patch (limited to 'target/linux/generic/patches-4.4/506-yaffs2-using-new-follow_link-and-put_link.patch') diff --git a/target/linux/generic/patches-4.4/506-yaffs2-using-new-follow_link-and-put_link.patch b/target/linux/generic/patches-4.4/506-yaffs2-using-new-follow_link-and-put_link.patch deleted file mode 100644 index 60c4e378e0..0000000000 --- a/target/linux/generic/patches-4.4/506-yaffs2-using-new-follow_link-and-put_link.patch +++ /dev/null @@ -1,47 +0,0 @@ -From d4eb3ab036f8c37c5bc5f45ad0fa4dc34b7228c8 Mon Sep 17 00:00:00 2001 -From: Kevin Hao -Date: Wed, 24 Feb 2016 14:37:13 +0800 -Subject: [PATCH 3/3] yaffs2: using new ->follow_link() and ->put_link() - calling conventions - -As what we did in commit 680baacbca69 ("new ->follow_link() and -->put_link() calling conventions"). - -Signed-off-by: Kevin Hao -Signed-off-by: Bruce Ashfield ---- - fs/yaffs2/yaffs_vfs.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - ---- a/fs/yaffs2/yaffs_vfs.c -+++ b/fs/yaffs2/yaffs_vfs.c -@@ -1060,7 +1060,7 @@ static int yaffs_readlink(struct dentry - } - - #if (YAFFS_NEW_FOLLOW_LINK == 1) --static void *yaffs_follow_link(struct dentry *dentry, struct nameidata *nd) -+static const char *yaffs_follow_link(struct dentry *dentry, void **cookie) - { - void *ret; - #else -@@ -1082,7 +1082,7 @@ static int yaffs_follow_link(struct dent - goto out; - } - #if (YAFFS_NEW_FOLLOW_LINK == 1) -- nd_set_link(nd, alias); -+ *cookie = alias; - ret = alias; - out: - if (ret_int) -@@ -1114,9 +1114,9 @@ static void yaffs_put_inode(struct inode - #endif - - #if (YAFFS_NEW_FOLLOW_LINK == 1) --void yaffs_put_link(struct dentry *dentry, struct nameidata *nd, void *alias) -+void yaffs_put_link(struct inode *inode, void *cookie) - { -- kfree(alias); -+ kfree(cookie); - } - #endif - -- cgit v1.2.3