jfs: Clean up xattr name mapping
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 22 Apr 2016 12:43:48 +0000 (14:43 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 May 2016 02:29:18 +0000 (22:29 -0400)
commit6c8f980c75185f8ba897814363d21882f7453f53
treeefbb19e3dbfdf9d019d0726724fb8a216166586f
parent1a39ba99b5d533647c5dac45cd6a3e0baa7cb66a
jfs: Clean up xattr name mapping

Instead of stripping "os2." prefixes in __jfs_setxattr, make callers
strip them, as __jfs_getxattr already does.  With that change, use the
same name mapping function in jfs_{get,set,remove}xattr.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/xattr.c