linux-erofs.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PREVIEW] [PATCH 1/4] staging: erofs: remove the unneeded marco in xattr submodule
@ 2018-08-01  6:01 Gao Xiang
  2018-08-01  6:01 ` [PREVIEW] [PATCH 2/4] staging: erofs: introduce erofs_grab_bio Gao Xiang
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Gao Xiang @ 2018-08-01  6:01 UTC (permalink / raw)


There is no need to '#if CONFIG_EROFS_FS_XATTR' in xattr.c,
let's remove it.

Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
---
 drivers/staging/erofs/xattr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/erofs/xattr.c b/drivers/staging/erofs/xattr.c
index b74b314..6b9685f 100644
--- a/drivers/staging/erofs/xattr.c
+++ b/drivers/staging/erofs/xattr.c
@@ -420,7 +420,6 @@ static int erofs_xattr_generic_get(const struct xattr_handler *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 @@ static int erofs_xattr_generic_get(const struct xattr_handler *handler,
 #endif
 	NULL,
 };
-#endif
 
 struct listxattr_iter {
 	struct xattr_iter it;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2018-08-12 11:28 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-01  6:01 [PREVIEW] [PATCH 1/4] staging: erofs: remove the unneeded marco in xattr submodule Gao Xiang
2018-08-01  6:01 ` [PREVIEW] [PATCH 2/4] staging: erofs: introduce erofs_grab_bio Gao Xiang
2018-08-01  6:04   ` [PREVIEW] [PATCH RESEND " Gao Xiang
2018-08-10  2:46     ` Chao Yu
2018-08-10  3:01       ` Gao Xiang
2018-08-10  3:08         ` Chao Yu
2018-08-10 16:46           ` [PREVIEW] [PATCH v3 1/3] " Gao Xiang
2018-08-11 14:05             ` Chao Yu
2018-08-01  6:01 ` [PREVIEW] [PATCH 3/4] staging: erofs: seperate erofs_get_meta_page Gao Xiang
2018-08-10  3:05   ` Chao Yu
2018-08-10  3:28     ` Gao Xiang
2018-08-10  6:02       ` Chao Yu
2018-08-10  6:06         ` Gao Xiang
2018-08-10 16:48           ` [PREVIEW] [PATCH v3 2/3] staging: erofs: separate erofs_get_meta_page Gao Xiang
2018-08-11 14:05             ` Chao Yu
2018-08-12 10:54             ` Chao Yu
2018-08-12 11:26               ` [PREVIEW] [PATCH v4 " Gao Xiang
2018-08-12 11:28               ` [PREVIEW] [PATCH v3 " Gao Xiang
2018-08-01  6:01 ` [PREVIEW] [PATCH 4/4] staging: erofs: add error handling for xattr submodule Gao Xiang
2018-08-10  3:40   ` Chao Yu
2018-08-10  3:47     ` Gao Xiang
2018-08-10  6:08       ` Chao Yu
2018-08-10  6:15         ` Gao Xiang
2018-08-10  6:33           ` Chao Yu
2018-08-10  6:52             ` Gao Xiang
2018-08-10 16:50               ` [PREVIEW] [PATCH v3 3/3] " Gao Xiang
2018-08-11 14:07                 ` Chao Yu
2018-08-01  6:10 ` [PREVIEW] [PATCH 1/4] staging: erofs: remove the unneeded marco in " Chao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).