On Thu, 15 Aug 2019, Mark Salyzyn wrote:

> Good Idea, but using the same argument structure for set and get I would be
> concerned about the loss of compiler protection for the buffer argument;

Agreed, I missed that.

> struct getxattr_args {
>       struct dentry *dentry;
>       struct inode *inode;
>       const char *name;
>       void *buffer;
>       size_t size;
>       int flags;

Does 'get' need flags?

-- 
James Morris
<jmor...@namei.org>



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to