]> git.baikalelectronics.ru Git - kernel.git/commit
jfs: Switch to generic xattr handlers
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 22 Apr 2016 12:43:49 +0000 (14:43 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 May 2016 02:29:18 +0000 (22:29 -0400)
commit59b4dfabc21cb301fd64ee041d294435a7802c64
tree9ef7ab6b2ed44a97438d941e576daf7293f4edce
parent2106ca6cf425c867cbcd94d7fd68e0c50886d28b
jfs: Switch to generic xattr handlers

This is mostly the same as on other filesystems except for attribute
names with an "os2." prefix: for those, the prefix is not stored on
disk, and on-attribute names without a prefix have "os2." added.

As on several other filesystems, the underlying function for
setting/removing xattrs (__jfs_setxattr) removes attributes when the
value is NULL, so the set xattr handlers will work as expected.

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