Re: [RFC PATCH] fs: xattr-based FS_IOC_[GS]ETFLAGS interface

From: Christoph Hellwig
Date: Tue Jan 07 2014 - 10:50:10 EST

On Tue, Jan 07, 2014 at 01:48:31PM +0100, Jan Kara wrote:
> I have to say I'm not thrilled by the idea of juggling strings in
> userspace and in kernel to set a flag for an inode...

Nevermind the massive amounts of code that sit in the filesystem.

Although my recent ACL patches are the first step towards handling the
existing semantically overloaded xattrs in common code. Unless Al has
a valid reason to disagree I'd like to put a big NAK on adding any new
xattrs that aren't stored on disk as-is but provide magic functionality,
as they are pain to implement, maintain, and audit.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at