[PATCH] Clean up struct flock definitions
[sfrench/cifs-2.6.git] / include / asm-m68k / fcntl.h
1 #ifndef _M68K_FCNTL_H
2 #define _M68K_FCNTL_H
3
4 #define O_DIRECTORY     040000  /* must be a directory */
5 #define O_NOFOLLOW      0100000 /* don't follow links */
6 #define O_DIRECT        0200000 /* direct disk access hint - currently ignored */
7 #define O_LARGEFILE     0400000
8
9 #define F_GETLK64       12      /*  using 'struct flock64' */
10 #define F_SETLK64       13
11 #define F_SETLKW64      14
12
13 struct flock64 {
14         short  l_type;
15         short  l_whence;
16         loff_t l_start;
17         loff_t l_len;
18         pid_t  l_pid;
19 };
20
21 #include <asm-generic/fcntl.h>
22
23 #endif /* _M68K_FCNTL_H */