Re: [PATCH 35/35] Unionfs: Extended Attributes support

From: Jan Engelhardt
Date: Thu Dec 07 2006 - 06:12:12 EST



On Dec 4 2006 07:31, Josef 'Jeff' Sipek wrote:

If the makefile contains

>--- a/fs/unionfs/Makefile
>+++ b/fs/unionfs/Makefile
>@@ -3,3 +3,5 @@ obj-$(CONFIG_UNION_FS) += unionfs.o
> unionfs-y := subr.o dentry.o file.o inode.o main.o super.o \
> stale_inode.o branchman.o rdstate.o copyup.o dirhelper.o \
> rename.o unlink.o lookup.o commonfops.o dirfops.o sioq.o
>+
>+unionfs-$(CONFIG_UNION_FS_XATTR) += xattr.o

then you don't need

>--- a/fs/unionfs/copyup.c
>+++ b/fs/unionfs/copyup.c
>@@ -18,6 +18,75 @@
>
> #include "union.h"
>
>+#ifdef CONFIG_UNION_FS_XATTR

^^ this, do you?.


>+#include "union.h"
>+
>+/* This is lifted from fs/xattr.c */
>+void *xattr_alloc(size_t size, size_t limit)

Same as for init_inode_cache, possibly prefix with unionfs.


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/