mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [mmotm] ecryptfs-do-not-try-to-open-device-files-on-mknod.patch build error
@ 2008-07-13  8:27 Valdis.Kletnieks
  0 siblings, 0 replies; only message in thread
From: Valdis.Kletnieks @ 2008-07-13  8:27 UTC (permalink / raw)
  To: Andrew Morton, Michael Halcrow; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 942 bytes --]

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 */



[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-14  0:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-13  8:27 [mmotm] ecryptfs-do-not-try-to-open-device-files-on-mknod.patch build error Valdis.Kletnieks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®