From 6ebebc80de3dfc7ada3a69d609f00088c2143be3 Mon Sep 17 00:00:00 2001 From: Shengyu Zhang Date: Fri, 13 May 2016 09:18:59 +0800 Subject: ext2fs: Add support for xattr * ext2fs/Makefile (SRCS): Add xattr.c. * ext2fs/ext2_fs.h: Define EXT2_FEATURE_COMPAT_EXT_ATTR. * ext2fs/ext2fs.h: Add xattr functions. * ext2fs/ialloc.c (diskfs_free_node): Free xattr block. * ext2fs/xattr.c: xattr implement. * ext2fs/xattr.h: Likewise. --- ext2fs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext2fs/Makefile') diff --git a/ext2fs/Makefile b/ext2fs/Makefile index 88f8f465..0c2f4a24 100644 --- a/ext2fs/Makefile +++ b/ext2fs/Makefile @@ -21,7 +21,8 @@ makemode := server target = ext2fs SRCS = balloc.c dir.c ext2fs.c getblk.c hyper.c ialloc.c \ - inode.c pager.c pokel.c truncate.c storeinfo.c msg.c xinl.c + inode.c pager.c pokel.c truncate.c storeinfo.c msg.c xinl.c \ + xattr.c OBJS = $(SRCS:.c=.o) HURDLIBS = diskfs pager iohelp fshelp store ports ihash shouldbeinlibc LDLIBS = -lpthread $(and $(HAVE_LIBBZ2),-lbz2) $(and $(HAVE_LIBZ),-lz) -- cgit v1.2.3