aboutsummaryrefslogtreecommitdiffstats
path: root/fs/erofs/zdata.h
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2021-11-06 16:23:15 +0800
committerGao Xiang <xiang@kernel.org>2021-11-08 10:02:34 +0800
commit4c7e42552b3a1536f3cdf534aba8c4262ee26716 (patch)
treecaf6de53051e589c0817e4312294de300f4a4d02 /fs/erofs/zdata.h
parenterofs: fix unsafe pagevec reuse of hooked pclusters (diff)
downloadlinux-dev-4c7e42552b3a1536f3cdf534aba8c4262ee26716.tar.xz
linux-dev-4c7e42552b3a1536f3cdf534aba8c4262ee26716.zip
erofs: remove useless cache strategy of DELAYEDALLOC
After commit 1825c8d7ce93 ("erofs: force inplace I/O under low memory scenario") and TRYALLOC is widely used, DELAYEDALLOC won't be used anymore. Remove related dead code. Also, remove the blank line at the end of zdata.h. Link: https://lore.kernel.org/r/20211106082315.25781-1-huyue2@yulong.com Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Yue Hu <huyue2@yulong.com> Signed-off-by: Gao Xiang <xiang@kernel.org>
Diffstat (limited to 'fs/erofs/zdata.h')
-rw-r--r--fs/erofs/zdata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/erofs/zdata.h b/fs/erofs/zdata.h
index 3a008f1b9f78..9321b35ee494 100644
--- a/fs/erofs/zdata.h
+++ b/fs/erofs/zdata.h
@@ -186,4 +186,3 @@ static inline void z_erofs_onlinepage_endio(struct page *page)
#define Z_EROFS_VMAP_GLOBAL_PAGES 2048
#endif
-