projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6152f
)
staging: erofs: remove a redundant marco in xattr
author
Gao Xiang
<gaoxiang25@huawei.com>
Wed, 1 Aug 2018 06:38:31 +0000
(14:38 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 1 Aug 2018 17:50:38 +0000
(19:50 +0200)
There is no need to '#if CONFIG_EROFS_FS_XATTR' in xattr.c,
let's remove it.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/xattr.c
patch
|
blob
|
history
diff --git
a/drivers/staging/erofs/xattr.c
b/drivers/staging/erofs/xattr.c
index b74b314a2e3a5e85748e572ac419e8c1386ca17d..6b9685fa601c70c8e52292af8c3c76fcf1d82286 100644
(file)
--- a/
drivers/staging/erofs/xattr.c
+++ b/
drivers/staging/erofs/xattr.c
@@
-420,7
+420,6
@@
const struct xattr_handler __maybe_unused erofs_xattr_security_handler = {
};
#endif
-#ifdef CONFIG_EROFS_FS_XATTR
const struct xattr_handler *erofs_xattr_handlers[] = {
&erofs_xattr_user_handler,
#ifdef CONFIG_EROFS_FS_POSIX_ACL
@@
-433,7
+432,6
@@
const struct xattr_handler *erofs_xattr_handlers[] = {
#endif
NULL,
};
-#endif
struct listxattr_iter {
struct xattr_iter it;