linux/fs/erofs
Gao Xiang c39747f770 erofs: update erofs_inode_is_data_compressed helper
As Christoph said, "This looks like a really obsfucated
way to write:
	return datamode == EROFS_INODE_FLAT_COMPRESSION ||
		datamode == EROFS_INODE_FLAT_COMPRESSION_LEGACY; "

Although I had my own consideration, it's the right way for now.

[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-6-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-05 20:10:07 +02:00
..
Kconfig
Makefile
compress.h
data.c erofs: reduntant assignment in __erofs_get_meta_page() 2019-08-30 09:02:10 +02:00
decompressor.c
dir.c
erofs_fs.h erofs: update erofs_inode_is_data_compressed helper 2019-09-05 20:10:07 +02:00
inode.c erofs: some macros are much more readable as a function 2019-09-05 20:10:07 +02:00
internal.h
namei.c
super.c
tagptr.h
utils.c
xattr.c erofs: some macros are much more readable as a function 2019-09-05 20:10:07 +02:00
xattr.h
zdata.c
zdata.h
zmap.c
zpvec.h