aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>2009-06-05 01:44:58 -0400
committerJames Morris <jmorris@namei.org>2009-06-08 19:30:21 -0400
commit5bf1692f65c12a8aa359dc883468284ffc3c4587 (patch)
treebab96097b51791985d6361b6bdfaf0280b0fc995 /security/tomoyo/common.h
parent0b4ec6e4e01d98e55ae325a41304cccd87fa4c0f (diff)
TOMOYO: Remove unused field.
TOMOYO 2.2.0 is not using total_len field of "struct tomoyo_path_info". Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/common.h')
-rw-r--r--security/tomoyo/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index 678f4ff16aa4..d8b95047cb9d 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -35,7 +35,6 @@ struct tomoyo_page_buffer {
35struct tomoyo_path_info { 35struct tomoyo_path_info {
36 const char *name; 36 const char *name;
37 u32 hash; /* = full_name_hash(name, strlen(name)) */ 37 u32 hash; /* = full_name_hash(name, strlen(name)) */
38 u16 total_len; /* = strlen(name) */
39 u16 const_len; /* = tomoyo_const_part_length(name) */ 38 u16 const_len; /* = tomoyo_const_part_length(name) */
40 bool is_dir; /* = tomoyo_strendswith(name, "/") */ 39 bool is_dir; /* = tomoyo_strendswith(name, "/") */
41 bool is_patterned; /* = tomoyo_path_contains_pattern(name) */ 40 bool is_patterned; /* = tomoyo_path_contains_pattern(name) */