diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-26 19:50:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:47:08 -0400 |
commit | 86d434dede14108dd917b25af0f29c0cb28b8d18 (patch) | |
tree | f69305e5213ac9eab854b8c85a918fd71c106e06 /include/linux/fs.h | |
parent | aeb5d727062a0238a2f96c9c380fbd2be4640c6f (diff) |
[PATCH] eliminate use of ->f_flags in block methods
store needed information in f_mode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 60a7a581ba91..5ab5579a5162 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -76,6 +76,10 @@ extern int dir_notify_enable; | |||
76 | behavior for cross-node execution/opening_for_writing of files */ | 76 | behavior for cross-node execution/opening_for_writing of files */ |
77 | #define FMODE_EXEC ((__force fmode_t)16) | 77 | #define FMODE_EXEC ((__force fmode_t)16) |
78 | 78 | ||
79 | #define FMODE_NDELAY ((__force fmode_t)32) | ||
80 | #define FMODE_EXCL ((__force fmode_t)64) | ||
81 | #define FMODE_WRITE_IOCTL ((__force fmode_t)128) | ||
82 | |||
79 | #define RW_MASK 1 | 83 | #define RW_MASK 1 |
80 | #define RWA_MASK 2 | 84 | #define RWA_MASK 2 |
81 | #define READ 0 | 85 | #define READ 0 |