[PATCH] staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Feb 20 21:20:26 AEDT 2019


On Wed, Feb 20, 2019 at 10:38:53AM +0800, Gao Xiang wrote:
> Hi Greg,
> 
> Could you consider take some time on these two patches for linux-5.1-rc1?
>  1) staging: erofs: fix race of initializing xattrs of a inode at the same time
>  2) staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page
> 
> It will be of great help, especially patch 1 (it could cause potential memleak
> in the race condition without it).

Ok, I'll queue them up now, I was waiting for reviewed-by tags from
others to show up :)

greg k-h


More information about the Linux-erofs mailing list