ecryptfs-do-not-try-to-open-device-files-on-mknod.patch build error
Patch ecryptfs-do-not-try-to-open-device-files-on-mknod.patch in mmotm 07/11 causes a build error:
CC [M] fs/ecryptfs/file.ofs/ecryptfs/file.c: In function ‘ecryptfs_open’:fs/ecryptfs/file.c:207: error: implicit declaration of function ‘ecryptfs_initersistent_file’ make[2]: *** [fs/ecryptfs/file.o] Error 1
make[1]: *** [fs/ecryptfs] Error 2
make: *** [fs] Error 2
Here's what I did to work around it:
fs/ecryptfs/ecryptfs_kernel.h renamed from fs/ecryptfs/ecryptfs_kernel.h.dist +1 -0
@@ -712,5 +712,6 @@ void ecryptfs_destroy_kthread(void);int ecryptfs_privileged_open (struct file **lower_file,struct dentry *lower_dentry,struct vfsmount *lower_mnt); +int ecryptfs_init_persistent_file (struct dentry *ecryptfs_dentry);#endif /* #ifndef ECRYPTFS_KERNEL_H */