diff options
| author | Jia Zhu <[email protected]> | 2023-11-20 04:14:18 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-11-25 15:03:54 +0000 |
| commit | 357a18d033143617e9c7d420c8f0dd4cbab5f34d (patch) | |
| tree | 0013755a96ae96c6ba4cfa4e67d962c96a8690c2 /fs/cachefiles/interface.c | |
| parent | Linux 6.7-rc1 (diff) | |
| download | kernel-357a18d033143617e9c7d420c8f0dd4cbab5f34d.tar.gz kernel-357a18d033143617e9c7d420c8f0dd4cbab5f34d.zip | |
cachefiles: introduce object ondemand state
Previously, @ondemand_id field was used not only to identify ondemand
state of the object, but also to represent the index of the xarray.
This commit introduces @state field to decouple the role of @ondemand_id
and adds helpers to access it.
Signed-off-by: Jia Zhu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jingbo Xu <[email protected]>
Reviewed-by: David Howells <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/cachefiles/interface.c')
0 files changed, 0 insertions, 0 deletions
