|
@@ -575,7 +575,8 @@ static int ubifs_xattr_get(const struct xattr_handler *handler,
|
|
|
dbg_gen("xattr '%s', ino %lu ('%pd'), buf size %zd", name,
|
|
|
inode->i_ino, dentry, size);
|
|
|
|
|
|
- return __ubifs_getxattr(inode, name, buffer, size);
|
|
|
+ name = xattr_full_name(handler, name);
|
|
|
+ return __ubifs_getxattr(inode, name, buffer, size);
|
|
|
}
|
|
|
|
|
|
static int ubifs_xattr_set(const struct xattr_handler *handler,
|
|
@@ -586,6 +587,8 @@ static int ubifs_xattr_set(const struct xattr_handler *handler,
|
|
|
dbg_gen("xattr '%s', host ino %lu ('%pd'), size %zd",
|
|
|
name, inode->i_ino, dentry, size);
|
|
|
|
|
|
+ name = xattr_full_name(handler, name);
|
|
|
+
|
|
|
if (value)
|
|
|
return __ubifs_setxattr(inode, name, value, size, flags);
|
|
|
else
|