Re: [PATCH 02/33] mm: Add an unlock function for PG_private_2/PG_fscache

2021-02-16 Thread Christoph Hellwig
> +extern void unlock_page_private_2(struct page *page); No need for the extern. Otherwise this looks good: Reviewed-by: Christoph Hellwig

[PATCH 02/33] mm: Add an unlock function for PG_private_2/PG_fscache

2021-02-15 Thread David Howells
Add a function, unlock_page_private_2(), to unlock PG_private_2 analogous to that of PG_lock. Add a kerneldoc banner to that indicating the example usage case. A wrapper will need to be placed in the netfs header in the patch that adds that. [This implements a suggestion by Linus to not mix the