aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/xattr.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-10-02 08:45:08 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-10-02 08:45:08 -0400
commit59458f40e25915a355d8b1d701425fe9f4f9ea23 (patch)
treef1c9a2934df686e36d75f759ab7313b6f0e0e5f9 /fs/jfs/xattr.c
parent825f9075d74028d11d7f5932f04e1b5db3022b51 (diff)
parentd834c16516d1ebec4766fc58c059bf01311e6045 (diff)
Merge branch 'master' into gfs2
Diffstat (limited to 'fs/jfs/xattr.c')
-rw-r--r--fs/jfs/xattr.c10
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
130static inline int name_size(struct jfs_ea *ea) 130static inline int name_size(struct jfs_ea *ea)