Skip to content

Commit a55861c

Browse files
Vladimir ZapolskiyGao Xiang
authored andcommitted
erofs: correct indentation of an assigned structure inside a function
Trivial change, the expected indentation ruled by the coding style hasn't been met. Signed-off-by: Vladimir Zapolskiy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Gao Xiang <[email protected]>
1 parent c79f46a commit a55861c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

fs/erofs/xattr.h

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,19 @@ extern const struct xattr_handler erofs_xattr_security_handler;
4646

4747
static inline const struct xattr_handler *erofs_xattr_handler(unsigned int idx)
4848
{
49-
static const struct xattr_handler *xattr_handler_map[] = {
50-
[EROFS_XATTR_INDEX_USER] = &erofs_xattr_user_handler,
49+
static const struct xattr_handler *xattr_handler_map[] = {
50+
[EROFS_XATTR_INDEX_USER] = &erofs_xattr_user_handler,
5151
#ifdef CONFIG_EROFS_FS_POSIX_ACL
52-
[EROFS_XATTR_INDEX_POSIX_ACL_ACCESS] = &posix_acl_access_xattr_handler,
53-
[EROFS_XATTR_INDEX_POSIX_ACL_DEFAULT] =
54-
&posix_acl_default_xattr_handler,
52+
[EROFS_XATTR_INDEX_POSIX_ACL_ACCESS] =
53+
&posix_acl_access_xattr_handler,
54+
[EROFS_XATTR_INDEX_POSIX_ACL_DEFAULT] =
55+
&posix_acl_default_xattr_handler,
5556
#endif
56-
[EROFS_XATTR_INDEX_TRUSTED] = &erofs_xattr_trusted_handler,
57+
[EROFS_XATTR_INDEX_TRUSTED] = &erofs_xattr_trusted_handler,
5758
#ifdef CONFIG_EROFS_FS_SECURITY
58-
[EROFS_XATTR_INDEX_SECURITY] = &erofs_xattr_security_handler,
59+
[EROFS_XATTR_INDEX_SECURITY] = &erofs_xattr_security_handler,
5960
#endif
60-
};
61+
};
6162

6263
return idx && idx < ARRAY_SIZE(xattr_handler_map) ?
6364
xattr_handler_map[idx] : NULL;

0 commit comments

Comments
 (0)