Skip to content
Commit e7cda1ee authored by Chengguang Xu's avatar Chengguang Xu Committed by Gao Xiang
Browse files

erofs: code cleanup by removing ifdef macro surrounding



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

Signed-off-by: default avatarChengguang Xu <cgxu519@mykernel.net>
Reviewed-by: default avatarGao Xiang <hsiangkao@redhat.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20200526090343.22794-1-cgxu519@mykernel.net


Signed-off-by: default avatarGao Xiang <hsiangkao@redhat.com>
parent 9cb1fd0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment