]> err.no Git - linux-2.6/blob - include/asm-arm26/fcntl.h
[PATCH] Clean up struct flock definitions
[linux-2.6] / include / asm-arm26 / fcntl.h
1 #ifndef _ARM_FCNTL_H
2 #define _ARM_FCNTL_H
3
4 /* open/fcntl - O_SYNC is only implemented on blocks devices and on files
5    located on an ext2 file system */
6 #define O_DIRECTORY      040000 /* must be a directory */
7 #define O_NOFOLLOW      0100000 /* don't follow links */
8 #define O_DIRECT        0200000 /* direct disk access hint - currently ignored */
9 #define O_LARGEFILE     0400000
10
11 #define F_GETLK64       12      /*  using 'struct flock64' */
12 #define F_SETLK64       13
13 #define F_SETLKW64      14
14
15 struct flock64 {
16         short  l_type;
17         short  l_whence;
18         loff_t l_start;
19         loff_t l_len;
20         pid_t  l_pid;
21 };
22
23 #include <asm-generic/fcntl.h>
24
25 #endif