diff options
Diffstat (limited to 'fs/jfs/xattr.c')
-rw-r--r-- | fs/jfs/xattr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/jfs/xattr.c b/fs/jfs/xattr.c index 9bc5b7c055ce..7a10e1928961 100644 --- a/fs/jfs/xattr.c +++ b/fs/jfs/xattr.c | |||
@@ -97,26 +97,26 @@ static inline int is_os2_xattr(struct jfs_ea *ea) | |||
97 | */ | 97 | */ |
98 | if ((ea->namelen >= XATTR_SYSTEM_PREFIX_LEN) && | 98 | if ((ea->namelen >= XATTR_SYSTEM_PREFIX_LEN) && |
99 | !strncmp(ea->name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) | 99 | !strncmp(ea->name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) |
100 | return FALSE; | 100 | return false; |
101 | /* | 101 | /* |
102 | * Check for "user." | 102 | * Check for "user." |
103 | */ | 103 | */ |
104 | if ((ea->namelen >= XATTR_USER_PREFIX_LEN) && | 104 | if ((ea->namelen >= XATTR_USER_PREFIX_LEN) && |
105 | !strncmp(ea->name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) | 105 | !strncmp(ea->name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) |
106 | return FALSE; | 106 | return false; |
107 | /* | 107 | /* |
108 | * Check for "security." | 108 | * Check for "security." |
109 | */ | 109 | */ |
110 | if ((ea->namelen >= XATTR_SECURITY_PREFIX_LEN) && | 110 | if ((ea->namelen >= XATTR_SECURITY_PREFIX_LEN) && |
111 | !strncmp(ea->name, XATTR_SECURITY_PREFIX, | 111 | !strncmp(ea->name, XATTR_SECURITY_PREFIX, |
112 | XATTR_SECURITY_PREFIX_LEN)) | 112 | XATTR_SECURITY_PREFIX_LEN)) |
113 | return FALSE; | 113 | return false; |
114 | /* | 114 | /* |
115 | * Check for "trusted." | 115 | * Check for "trusted." |
116 | */ | 116 | */ |
117 | if ((ea->namelen >= XATTR_TRUSTED_PREFIX_LEN) && | 117 | if ((ea->namelen >= XATTR_TRUSTED_PREFIX_LEN) && |
118 | !strncmp(ea->name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) | 118 | !strncmp(ea->name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) |
119 | return FALSE; | 119 | return false; |
120 | /* | 120 | /* |
121 | * Add any other valid namespace prefixes here | 121 | * Add any other valid namespace prefixes here |
122 | */ | 122 | */ |
@@ -124,7 +124,7 @@ static inline int is_os2_xattr(struct jfs_ea *ea) | |||
124 | /* | 124 | /* |
125 | * We assume it's OS/2's flat namespace | 125 | * We assume it's OS/2's flat namespace |
126 | */ | 126 | */ |
127 | return TRUE; | 127 | return true; |
128 | } | 128 | } |
129 | 129 | ||
130 | static inline int name_size(struct jfs_ea *ea) | 130 | static inline int name_size(struct jfs_ea *ea) |