diff options
author | Gao Xiang <[email protected]> | 2019-09-04 10:08:52 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-09-05 20:10:07 +0200 |
commit | c39747f770bee2060dc2409e52168a879978c467 (patch) | |
tree | 7daa52996261362141f832109069934b128362a2 /scripts/gdb/linux/modules.py | |
parent | ed34aa4a8a7d41ce0a160ccec0fd4f6b44a79c15 (diff) |
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/[email protected]/
Reported-by: Christoph Hellwig <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions