diff options
author | Jeffle Xu <[email protected]> | 2022-04-25 20:21:23 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-05-18 00:11:17 +0800 |
commit | a06fac1599c179853639491974fd72aefd46d030 (patch) | |
tree | 1c1e4098f68255f8105e6c15ff8e3f49a44a4a01 /include/linux/fpga/fpga-mgr.h | |
parent | 6c459b78d4793afbba6d864c466cc5cd2932459d (diff) |
cachefiles: extract write routine
Extract the generic routine of writing data to cache files, and make it
generally available.
This will be used by the following patch implementing on-demand read
mode. Since it's called inside CacheFiles module, make the interface
generic and unrelated to netfs_cache_resources.
It is worth noting that, ki->inval_counter is not initialized after
this cleanup. It shall not make any visible difference, since
inval_counter is no longer used in the write completion routine, i.e.
cachefiles_write_complete().
Signed-off-by: Jeffle Xu <[email protected]>
Acked-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions