Re: [PATCH v4 38/68] vfs, cachefiles: Mark a backing file in use with an inode flag

From: David Howells
Date: Sat Jan 08 2022 - 03:43:29 EST


Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

>
> Huh? If some other kernel module sets it, cachefiles will try to set it,
> see it's already set, and fail. Presumably cachefiles does not go round
> randomly "unusing" files that it has not previously started using.

Correct. It only unuses a file that it marked in-use in the first place.

David