diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-06 18:18:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:38 -0400 |
commit | 5ac353f9baf7169298ebb7de86b2d697b25bca44 (patch) | |
tree | 2591e241e07c96d19db85d418ff6623ec394f984 /include/asm-s390 | |
parent | 1abf62afb6e9cdc1b2618b69067a186b94281587 (diff) |
[PATCH] Clean up struct flock definitions
This patch just gathers together all the struct flock definitions except
xtensa into asm-generic/fcntl.h.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/fcntl.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/asm-s390/fcntl.h b/include/asm-s390/fcntl.h index 2974433e8ea4..3a66fba09ee9 100644 --- a/include/asm-s390/fcntl.h +++ b/include/asm-s390/fcntl.h | |||
@@ -12,17 +12,7 @@ | |||
12 | #define F_GETLK64 12 /* using 'struct flock64' */ | 12 | #define F_GETLK64 12 /* using 'struct flock64' */ |
13 | #define F_SETLK64 13 | 13 | #define F_SETLK64 13 |
14 | #define F_SETLKW64 14 | 14 | #define F_SETLKW64 14 |
15 | #endif /* ! __s390x__ */ | ||
16 | 15 | ||
17 | struct flock { | ||
18 | short l_type; | ||
19 | short l_whence; | ||
20 | off_t l_start; | ||
21 | off_t l_len; | ||
22 | pid_t l_pid; | ||
23 | }; | ||
24 | |||
25 | #ifndef __s390x__ | ||
26 | struct flock64 { | 16 | struct flock64 { |
27 | short l_type; | 17 | short l_type; |
28 | short l_whence; | 18 | short l_whence; |