Re: [PATCH v15 2/9] erofs: decouple `struct erofs_anon_fs_type`

From: Hongbo Li

Date: Sun Jan 18 2026 - 20:34:32 EST


Hi, Xiang

On 2026/1/16 23:38, Christoph Hellwig wrote:
+#if defined(CONFIG_EROFS_FS_ONDEMAND)

Normally this would just use #ifdef.

How about using #ifdef for all of them? I checked and there are only three places in total, and all of them are related to FS_PAGE_CACHE_SHARE or FS_ONDEMAND config macro.

Thanks,
Hongbo