xattr.c (498495dba268b20e8eadd7fe93c140c68b6cc9d2) xattr.c (f168d9fd634a4612d308d7dbe0a4d2a9b366c045)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/hfsplus/xattr.c
4 *
5 * Vyacheslav Dubeyko <slava@dubeyko.com>
6 *
7 * Logic of processing extended attributes
8 */
9
10#include "hfsplus_fs.h"
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/hfsplus/xattr.c
4 *
5 * Vyacheslav Dubeyko <slava@dubeyko.com>
6 *
7 * Logic of processing extended attributes
8 */
9
10#include "hfsplus_fs.h"
11#include <linux/posix_acl_xattr.h>
12#include <linux/nls.h>
13#include "xattr.h"
11#include <linux/nls.h>
12#include "xattr.h"
14#include "acl.h"
15
16static int hfsplus_removexattr(struct inode *inode, const char *name);
17
18const struct xattr_handler *hfsplus_xattr_handlers[] = {
19 &hfsplus_xattr_osx_handler,
20 &hfsplus_xattr_user_handler,
21 &hfsplus_xattr_trusted_handler,
13
14static int hfsplus_removexattr(struct inode *inode, const char *name);
15
16const struct xattr_handler *hfsplus_xattr_handlers[] = {
17 &hfsplus_xattr_osx_handler,
18 &hfsplus_xattr_user_handler,
19 &hfsplus_xattr_trusted_handler,
22#ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
23 &posix_acl_access_xattr_handler,
24 &posix_acl_default_xattr_handler,
25#endif
26 &hfsplus_xattr_security_handler,
27 NULL
28};
29
30static int strcmp_xattr_finder_info(const char *name)
31{
32 if (name) {
33 return strncmp(name, HFSPLUS_XATTR_FINDER_INFO_NAME,

--- 858 unchanged lines hidden ---
20 &hfsplus_xattr_security_handler,
21 NULL
22};
23
24static int strcmp_xattr_finder_info(const char *name)
25{
26 if (name) {
27 return strncmp(name, HFSPLUS_XATTR_FINDER_INFO_NAME,

--- 858 unchanged lines hidden ---