[Cluster-devel] [PATCH] Add flags option to get xattr method paired to __vfs_getxattr

James Morris jmorris at namei.org
Thu Aug 15 22:27:07 UTC 2019


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
<jmorris at namei.org>




More information about the Cluster-devel mailing list