1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Squashfs - a compressed read only filesystem for Linux
11 #ifdef CONFIG_SQUASHFS_XATTR
12 extern __le64 *squashfs_read_xattr_id_table(struct super_block *, u64,
14 extern int squashfs_xattr_lookup(struct super_block *, unsigned int, int *,
15 unsigned int *, unsigned long long *);
17 static inline __le64 *squashfs_read_xattr_id_table(struct super_block *sb,
18 u64 start, u64 *xattr_table_start, int *xattr_ids)
20 ERROR("Xattrs in filesystem, these will be ignored\n");
21 *xattr_table_start = start;
22 return ERR_PTR(-ENOTSUPP);
25 static inline int squashfs_xattr_lookup(struct super_block *sb,
26 unsigned int index, int *count, unsigned int *size,
27 unsigned long long *xattr)
31 #define squashfs_listxattr NULL
32 #define squashfs_xattr_handlers NULL