]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ubifs: Fix xattr generic handler usage
authorRichard Weinberger <richard@nod.at>
Sun, 31 Jul 2016 19:42:23 +0000 (21:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:20:28 +0000 (08:20 +0200)
commit1ee6296b23cb5f6b297011defd8a2a637088c689
tree50f0d7a0716684db08a9cc121e8ec3880cd4f4d5
parentdcfeecd938a75f52faa17f437a08d83001b32da2
ubifs: Fix xattr generic handler usage

commit 17ce1eb0b64eb27d4f9180daae7495fa022c7b0d upstream.

UBIFS uses full names to work with xattrs, therefore we have to use
xattr_full_name() to obtain the xattr prefix as string.

Cc: Andreas Gruenbacher <agruenba@redhat.com>
Fixes: 2b88fc21ca ("ubifs: Switch to generic xattr handlers")
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Tested-by: Dongsheng Yang <dongsheng081251@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ubifs/xattr.c