Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01e5b4e4 authored by Phillip Lougher's avatar Phillip Lougher
Browse files

squashfs: add xattr support configure option

parent 67f66cc6
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -26,6 +26,17 @@ config SQUASHFS

	  If unsure, say N.

config SQUASHFS_XATTRS
	bool "Squashfs XATTR support"
	depends on SQUASHFS
	default n
	help
	  Saying Y here includes support for extended attributes (xattrs).
	  Xattrs are name:value pairs associated with inodes by
	  the kernel or by users (see the attr(5) manual page).

	  If unsure, say N.

config SQUASHFS_EMBEDDED

	bool "Additional option for memory-constrained systems" 
+1 −1
Original line number Diff line number Diff line
@@ -5,5 +5,5 @@
obj-$(CONFIG_SQUASHFS) += squashfs.o
squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
squashfs-y += namei.o super.o symlink.o zlib_wrapper.o decompressor.o
squashfs-y += xattr.o xattr_id.o
squashfs-$(CONFIG_SQUASHFS_XATTRS) += xattr.o xattr_id.o
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@
#include "squashfs_fs_sb.h"
#include "squashfs_fs_i.h"
#include "squashfs.h"
#include "xattr.h"

/*
 * Initialise VFS inode with the base inode information common to all
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@
#include "squashfs_fs_sb.h"
#include "squashfs_fs_i.h"
#include "squashfs.h"
#include "xattr.h"

/*
 * Lookup name in the directory index, returning the location of the metadata
+0 −6
Original line number Diff line number Diff line
@@ -76,12 +76,6 @@ extern int squashfs_read_inode(struct inode *, long long);
/* xattr.c */
extern ssize_t squashfs_listxattr(struct dentry *, char *, size_t);

/* xattr_id.c */
extern int squashfs_xattr_lookup(struct super_block *, unsigned int, int *,
				int *, long long *);
extern __le64 *squashfs_read_xattr_id_table(struct super_block *, u64,
				u64 *, int *);

/*
 * Inodes, files,  decompressor and xattr operations
 */
Loading