[linux-yocto] [PATCH 1/2] yaffs2: replace f_dentry to f_path.dentry

2015-09-09 Thread Yang Shi
Upstream commit 78d28e651f97866d608d9b41f8ad291e65d47dd5 ("kill f_dentry macro") removed f_dentry from struct file, so replace it to f_path.dentry to fix the build failure. Signed-off-by: Yang Shi --- fs/yaffs2/yaffs_vfs.c | 26 +- 1 file changed,

[linux-yocto] [V2] Fix yaffs2 build failure on 4.1 kernel

2015-09-09 Thread Yang Shi
Fix yaffs2 build failure on 4.1 kernel and bring in missed patch. Yang Shi (2): yaffs2: replace f_dentry to f_path.dentry yaffs2: remove read and write methods Zhang Xiao (1): fs/yaffs2: Fix a judgement logic for ACL operations fs/yaffs2/yaffs_vfs.c | 30

[linux-yocto] [PATCH 1/3] yaffs2: replace f_dentry to f_path.dentry

2015-09-09 Thread Yang Shi
Upstream commit 78d28e651f97866d608d9b41f8ad291e65d47dd5 ("kill f_dentry macro") removed f_dentry from struct file, so replace it to f_path.dentry to fix the build failure. Signed-off-by: Yang Shi --- fs/yaffs2/yaffs_vfs.c | 26 +- 1 file changed,

[linux-yocto] [PATCH 3/3] fs/yaffs2: Fix a judgement logic for ACL operations

2015-09-09 Thread Yang Shi
From: Zhang Xiao Currently yaffs doesn't support ACL thus all related operations should return error. While the judgement on ACL operation miss a "!" thus cause this mechanism failed. Add a "!" to fix it. Signed-off-by: Zhang Xiao ---

[linux-yocto] [PATCH 2/3] yaffs2: remove read and write methods

2015-09-09 Thread Yang Shi
Upstream commit 5d5d568975307877e9195f5305f4240e506a2807 ("make new_sync_{read,write}() static") removed read and write methods from drivers and filesystems, remove them from yaffs2 to avoid build failure. Signed-off-by: Yang Shi --- fs/yaffs2/yaffs_vfs.c | 2 -- 1 file