erofs: some macros are much more readable as a function
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 4 Sep 2019 02:08:50 +0000 (10:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 18:10:07 +0000 (20:10 +0200)
commitb6796abd3cc155eb5d49b9a7600a26f503b62da7
tree45f96e1b3c97c208356be05bfd2bc491138bbd7b
parent60a49ba8fee10f528faba3be4b56ee389ffefefa
erofs: some macros are much more readable as a function

As Christoph suggested [1], these macros are much
more readable as a function.

[1] https://lore.kernel.org/r/20190829095954.GB20598@infradead.org/
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190904020912.63925-4-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/erofs/erofs_fs.h
fs/erofs/inode.c
fs/erofs/xattr.c