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.o
fs/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:

--- linux-2.6.26-rc9-mmotd0711/fs/ecryptfs/ecryptfs_kernel.h.dist 2008-07-13 03:57:30.000000000 -0400
+++ linux-2.6.26-rc9-mmotd0711/fs/ecryptfs/ecryptfs_kernel.h 2008-07-13 04:21:03.000000000 -0400
@@ -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 */



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFIebxscC3lWbTT17ARAq2LAKD+kw5m/reJluKVb0MKkbzrVamYswCgigTt
vEa6fNr4pV+d06mbSzdaRpg=
=EfSY
-----END PGP SIGNATURE-----