Jeffle Xu <jeffl...@linux.alibaba.com> wrote:

> 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 in this case, 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 <jeffl...@linux.alibaba.com>

Acked-by: David Howells <dhowe...@redhat.com>
--
Linux-cachefs mailing list
Linux-cachefs@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-cachefs

Reply via email to