fs/hfsplus: use bool instead of int for is_known_namespace() return value
[firefly-linux-kernel-4.4.55.git] / fs / hfsplus / xattr.c
index 16f545dd929b10e1773352eb5730fcbeb612101c..8d62de0f4504e7c96c45ea695fdef2f14632c47c 100644 (file)
@@ -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) &&