9 #include <linux/string.h>
18 const size_t total_len = prefix_len + name_len + 1;
23 if (list && total_len <= list_size) {
25 memcpy(list+prefix_len, name, name_len);
32 ext2_xattr_user_get(
struct dentry *dentry,
const char *name,
44 ext2_xattr_user_set(
struct dentry *dentry,
const char *name,
45 const void *
value,
size_t size,
int flags,
int type)
53 name, value, size, flags);
58 .list = ext2_xattr_user_list,
59 .get = ext2_xattr_user_get,
60 .set = ext2_xattr_user_set,