summaryrefslogtreecommitdiff
path: root/fs/erofs/internal.h
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2024-11-14 17:58:13 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-11-18 18:50:14 +0800
commitec4f59d1a99de86e5c14cf97946e94d5cef98ab0 (patch)
tree2ab4d974465d07378950caf3317d35aef3d6433c /fs/erofs/internal.h
parent3a23787ca8756920d65fda39f41353a4be1d1642 (diff)
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
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r--fs/erofs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index f0b867652539..1c847c30a918 100644
--- a/fs/erofs/internal.h
+++ b/fs/erofs/internal.h
@@ -212,7 +212,6 @@ struct erofs_buf {
struct file *file;
struct page *page;
void *base;
- enum erofs_kmap_type kmap_type;
};
#define __EROFS_BUF_INITIALIZER ((struct erofs_buf){ .page = NULL })