erofs: get rid of `buf->kmap_type`
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 14 Nov 2024 09:58:13 +0000 (17:58 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 18 Nov 2024 10:50:14 +0000 (18:50 +0800)
commitec4f59d1a99de86e5c14cf97946e94d5cef98ab0
tree2ab4d974465d07378950caf3317d35aef3d6433c
parent3a23787ca8756920d65fda39f41353a4be1d1642
erofs: get rid of `buf->kmap_type`

After commit 927e5010ff5b ("erofs: use kmap_local_page() only for
erofs_bread()"), `buf->kmap_type` actually has no use at all.

Let's get rid of `buf->kmap_type` now.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241114095813.839866-1-hsiangkao@linux.alibaba.com
fs/erofs/data.c
fs/erofs/internal.h