lkml.org 
[lkml]   [2000]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPATCH: include/asm-ppc/fcntl.h
Date
Hello Paul, hello list,

here's a struct definition missing from the latest test kernel.
I didn't get this compile error up to test6.

- Bernd--- v2.4.0-test7/linux/include/asm-ppc/fcntl.h.orig Wed Jul 5 20:13:39 2000
+++ v2.4.0-test7/linux/include/asm-ppc/fcntl.h Sat Aug 26 03:00:36 2000
@@ -35,6 +35,10 @@
#define F_SETSIG 10 /* for sockets. */
#define F_GETSIG 11 /* for sockets. */

+#define F_GETLK64 12 /* using 'struct flock64' */
+#define F_SETLK64 13
+#define F_SETLKW64 14
+
/* for F_[GET|SET]FL */
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */

@@ -66,6 +70,14 @@
off_t l_start;
off_t l_len;
pid_t l_pid;
+};
+
+struct flock64 {
+ short l_type;
+ short l_whence;
+ loff_t l_start;
+ loff_t l_len;
+ pid_t l_pid;
};

#endif
\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2011 Jasper Spaans