projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d28d5
)
fs/hfsplus: use bool instead of int for is_known_namespace() return value
author
Fabian Frederick
<
[email protected]
>
Thu, 16 Apr 2015 19:47:07 +0000
(12:47 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 17 Apr 2015 13:04:05 +0000
(09:04 -0400)
is_known_namespace() only returns true/false. Also remove inline and let
compiler decide what to do with static functions.
Signed-off-by: Fabian Frederick <
[email protected]
>
Cc: "David S. Miller" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/hfsplus/xattr.c
patch
|
blob
|
history
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) &&