]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext2: code cleanup by removing ifdef macro surrounding
authorChengguang Xu <cgxu519@mykernel.net>
Fri, 22 May 2020 04:40:35 +0000 (12:40 +0800)
committerJan Kara <jack@suse.cz>
Fri, 22 May 2020 13:11:00 +0000 (15:11 +0200)
commit91a087153d9db2aaabd4fddcb3fa12fa10168136
tree020095ca5ffeea66b5db312ca3d7c367c5a05c90
parent8939a3af5c08daca7914c53d9f99c222569b6509
ext2: code cleanup by removing ifdef macro surrounding

Define ext2_listxattr to NULL when CONFIG_EROFS_FS_XATTR
is not enabled, then we can remove many ugly ifdef macros
in the code.

Link: https://lore.kernel.org/r/20200522044035.24190-2-cgxu519@mykernel.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/file.c
fs/ext2/namei.c
fs/ext2/symlink.c
fs/ext2/xattr.h