[PATCH] Clean up struct flock definitions
[firefly-linux-kernel-4.4.55.git] / include / asm-v850 / fcntl.h
1 #ifndef __V850_FCNTL_H__
2 #define __V850_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 /* __V850_FCNTL_H__ */