From: Andrew Morton fs/ecryptfs/file.c: In function `ecryptfs_lock': fs/ecryptfs/file.c:540: error: `F_GETLK64' undeclared (first use in this function) fs/ecryptfs/file.c:540: error: (Each undeclared identifier is reported only once fs/ecryptfs/file.c:540: error: for each function it appears in.) fs/ecryptfs/file.c:545: error: `F_SETLK64' undeclared (first use in this function) fs/ecryptfs/file.c:546: error: `F_SETLKW64' undeclared (first use in this function) I dunno if these things are supposed to be used in filesystems - aren't they for internal compat stuff? Dunno - work around it for now. Cc: Phillip Hellewell Cc: Michael Halcrow Signed-off-by: Andrew Morton --- fs/ecryptfs/file.c | 3 --- 1 file changed, 3 deletions(-) diff -puN fs/ecryptfs/file.c~ecryptfs-alpha-build-fix fs/ecryptfs/file.c --- devel/fs/ecryptfs/file.c~ecryptfs-alpha-build-fix 2006-06-09 15:22:37.000000000 -0700 +++ devel-akpm/fs/ecryptfs/file.c 2006-06-09 15:22:37.000000000 -0700 @@ -489,13 +489,10 @@ static int ecryptfs_lock(struct file *fi fl->fl_file = lower_file; switch (cmd) { case F_GETLK: - case F_GETLK64: rc = ecryptfs_getlk(lower_file, fl); break; case F_SETLK: case F_SETLKW: - case F_SETLK64: - case F_SETLKW64: fl->fl_file = file; rc = ecryptfs_setlk(file, cmd, fl); break; _