Baokun Li <libaokun@xxxxxxxxxxxxxxx> wrote:Thanks for confirming this.
Actually, I'm wrong kernel_file_open() doesn't steal a ref.You couldn't do that anyway, since kernel_file_open() steals the caller's refIgnoring kernel_file_open(), we now put a reference count of the dentry
if successful.
whether cachefiles_open_file() returns true or false.
David