]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
erofs: decouple `struct erofs_anon_fs_type`
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 23 Jan 2026 01:31:24 +0000 (01:31 +0000)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 23 Jan 2026 12:01:13 +0000 (20:01 +0800)
commit4340ca47c35b2be0b0945a3c2c9c9ee058520b96
tree1efb2c3f6dfafb377c860dc15350c10a0a4541af
parent37364497048c5081d3bfa424638cc91a7a7644e2
erofs: decouple `struct erofs_anon_fs_type`

  - Move the `struct erofs_anon_fs_type` to super.c and expose it
    in preparation for the upcoming page cache share feature;

  - Remove the `.owner` field, as they are all internal mounts and
    fully managed by EROFS.  Retaining `.owner` would unnecessarily
    increment module reference counts, preventing the EROFS kernel
    module from being unloaded.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/fscache.c
fs/erofs/internal.h
fs/erofs/super.c