projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be45319
)
erofs: remove duplicate code
author
Bo Liu
<liubo03@inspur.com>
Thu, 10 Apr 2025 04:20:47 +0000
(
00:20
-0400)
committer
Gao Xiang
<hsiangkao@linux.alibaba.com>
Thu, 10 Apr 2025 06:24:05 +0000
(14:24 +0800)
Remove duplicate code in function z_erofs_register_pcluster()
Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link:
https://lore.kernel.org/r/20250410042048.3044-2-liubo03@inspur.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zdata.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/erofs/zdata.c
b/fs/erofs/zdata.c
index 0671184d9cf1ae216dcaa177363dbba18a05dbbc..5c061aaeeb45b3731d4245a6e6f3ef06c2438633 100644
(file)
--- a/
fs/erofs/zdata.c
+++ b/
fs/erofs/zdata.c
@@
-725,7
+725,6
@@
static int z_erofs_register_pcluster(struct z_erofs_frontend *fe)
lockref_init(&pcl->lockref); /* one ref for this request */
pcl->algorithmformat = map->m_algorithmformat;
pcl->pclustersize = map->m_plen;
- pcl->pageofs_in = pageofs_in;
pcl->length = 0;
pcl->partial = true;
pcl->next = fe->head;