[mmotm] ecryptfs-do-not-try-to-open-device-files-on-mknod.patch build error

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, Michael Halcrow <mhalcrow@...>
Cc: <linux-kernel@...>
Date: Sunday, July 13, 2008 - 4:27 am

Patch ecryptfs-do-not-try-to-open-device-files-on-mknod.patch in mmotm 07=
/11
causes a build error:

  CC =5BM=5D  fs/ecryptfs/file.o
fs/ecryptfs/file.c: In function =E2=80=98ecryptfs_open=E2=80=99:
fs/ecryptfs/file.c:207: error: implicit declaration of function =E2=80=98=
ecryptfs_initersistent_file=E2=80=99
make=5B2=5D: *** =5Bfs/ecryptfs/file.o=5D Error 1
make=5B1=5D: *** =5Bfs/ecryptfs=5D Error 2
make: *** =5Bfs=5D 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 0=
4:21:03.000000000 -0400
=40=40 -712,5 +712,6 =40=40 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);
=20
 =23endif /* =23ifndef ECRYPTFS_KERNEL_H */
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[mmotm] ecryptfs-do-not-try-to-open-device-files-on-mknod.pa..., , (Sun Jul 13, 4:27 am)