projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/hfsplus: use bool instead of int for is_known_namespace() return value
[firefly-linux-kernel-4.4.55.git]
/
fs
/
hfsplus
/
xattr.c
diff --git
a/fs/hfsplus/xattr.c
b/fs/hfsplus/xattr.c
index 16f545dd929b10e1773352eb5730fcbeb612101c..8d62de0f4504e7c96c45ea695fdef2f14632c47c 100644
(file)
--- a/
fs/hfsplus/xattr.c
+++ b/
fs/hfsplus/xattr.c
@@
-44,7
+44,7
@@
static int strcmp_xattr_acl(const char *name)
return -1;
}
-static
inline int
is_known_namespace(const char *name)
+static
bool
is_known_namespace(const char *name)
{
if (strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN) &&
strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) &&