diff options
author | Jeffle Xu <[email protected]> | 2022-04-25 20:21:32 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-05-18 00:11:19 +0800 |
commit | 93b856bb5f66ae149ed91876b17c8c3fca576615 (patch) | |
tree | 2167a51c26f000c812514a0e7044c23b4062296c /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 94d78946704f7facd010b9dee5e158921ab37398 (diff) |
erofs: add fscache mode check helper
Until then erofs is exactly blockdev based filesystem.
A new fscache-based mode is going to be introduced for erofs to support
scenarios where on-demand read semantics is needed, e.g. container
image distribution. In this case, erofs could be mounted from data blobs
through fscache.
Add a helper checking which mode erofs works in, and twist the code in
preparation for the upcoming fscache mode.
Signed-off-by: Jeffle Xu <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions