From 0dfba24e9a20b7891f0e18b8c222cba302354057 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sun, 19 Apr 2015 11:38:46 +0000 Subject: kernel: refresh generic patches Refresh patches to remove the trailing whitespaces caused by an old diffutils version on osx. Signed-off-by: Jonas Gorski SVN-Revision: 45506 --- .../110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-4.0/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch') diff --git a/target/linux/generic/patches-4.0/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch b/target/linux/generic/patches-4.0/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch index 4ffa3c2..9d32777 100644 --- a/target/linux/generic/patches-4.0/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch +++ b/target/linux/generic/patches-4.0/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch @@ -67,7 +67,7 @@ Signed-off-by: Felix Fietkau * file over a directory and vice versa, but if it's a directory, * the VFS can't check whether the victim is empty. The filesystem @@ -828,9 +850,14 @@ static int jffs2_rename (struct inode *o - if (S_ISDIR(old_dentry->d_inode->i_mode) && !victim_f) + if (d_is_dir(old_dentry) && !victim_f) inc_nlink(new_dir_i); - /* Unlink the original */ -- cgit v1.1