diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-05-07 03:46:11 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-05-17 23:38:13 +0800 |
commit | 1f7aa6caefce17337a5563f5bedc437dc85c5b1c (patch) | |
tree | c0503ddbab6040c3b77899676f22012da40b2b79 /fs/erofs/internal.h | |
parent | 1e59af07c7f361bbe64779ea93546f88f433b912 (diff) | |
download | linux-stable-1f7aa6caefce17337a5563f5bedc437dc85c5b1c.tar.gz linux-stable-1f7aa6caefce17337a5563f5bedc437dc85c5b1c.tar.bz2 linux-stable-1f7aa6caefce17337a5563f5bedc437dc85c5b1c.zip |
erofs: remove obsoleted comments
Some comments haven't been useful anymore since the code updated.
Let's drop them instead.
Link: https://lore.kernel.org/r/20220506194612.117120-2-hsiangkao@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r-- | fs/erofs/internal.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index 5298c4ee277d..39eb48ce780f 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h @@ -381,31 +381,6 @@ extern const struct super_operations erofs_sops; extern const struct address_space_operations erofs_raw_access_aops; extern const struct address_space_operations z_erofs_aops; -/* - * Logical to physical block mapping - * - * Different with other file systems, it is used for 2 access modes: - * - * 1) RAW access mode: - * - * Users pass a valid (m_lblk, m_lofs -- usually 0) pair, - * and get the valid m_pblk, m_pofs and the longest m_len(in bytes). - * - * Note that m_lblk in the RAW access mode refers to the number of - * the compressed ondisk block rather than the uncompressed - * in-memory block for the compressed file. - * - * m_pofs equals to m_lofs except for the inline data page. - * - * 2) Normal access mode: - * - * If the inode is not compressed, it has no difference with - * the RAW access mode. However, if the inode is compressed, - * users should pass a valid (m_lblk, m_lofs) pair, and get - * the needed m_pblk, m_pofs, m_len to get the compressed data - * and the updated m_lblk, m_lofs which indicates the start - * of the corresponding uncompressed data in the file. - */ enum { BH_Encoded = BH_PrivateStart, BH_FullMapped, |