1 /* Modified by Broadcom Corp. Portions Copyright (c) Broadcom Corp, 2012. */
3 * Squashfs - a compressed read only filesystem for Linux
6 * Phillip Lougher <phillip@lougher.demon.co.uk>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2,
11 * or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifdef CONFIG_SQUASHFS_XATTR
26 extern __le64
*squashfs_read_xattr_id_table(struct super_block
*, u64
,
28 extern int squashfs_xattr_lookup(struct super_block
*, unsigned int, int *,
29 unsigned int *, unsigned long long *);
31 static inline __le64
*squashfs_read_xattr_id_table(struct super_block
*sb
,
32 u64 start
, u64
*xattr_table_start
, int *xattr_ids
)
34 ERROR("Xattrs in filesystem, these will be ignored\n");
35 return ERR_PTR(-ENOTSUPP
);
38 static inline int squashfs_xattr_lookup(struct super_block
*sb
,
39 unsigned int index
, int *count
, unsigned int *size
,
40 unsigned long long *xattr
)
44 #define squashfs_listxattr NULL
45 #define generic_getxattr NULL
46 #define squashfs_xattr_handlers NULL