]> git.baikalelectronics.ru Git - kernel.git/commit
jffs2: Remove jffs2_{get,set,remove}xattr macros
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 29 Sep 2016 15:48:31 +0000 (17:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 7 Oct 2016 02:17:38 +0000 (22:17 -0400)
commite67345cf0876e8e84dd3931a612653907c157ede
tree2bab55f9d22c9139f030d87389fd0f076cbdbfb2
parent79f7b279e49a71d84ab3805b5ab2b865d31734c4
jffs2: Remove jffs2_{get,set,remove}xattr macros

When CONFIG_JFFS2_FS_XATTR is off, jffs2_xattr_handlers is defined as
NULL. With sb->s_xattr == NULL, the generic_{get,set,remove}xattr
functions produce the same result as setting the {get,set,remove}xattr
inode operations to NULL, so there is no need for these macros.

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