Subject: Re: [PATCH] powerpc/spufs: Add rcu_read_lock() around fcheck()

From: Christoph Hellwig <[email-masked]>
Date: Tue, 28 Apr 2020 15:52:45 +0200

On Tue, Apr 28, 2020 at 09:48:11PM +1000, Michael Ellerman wrote:
> 
> This comes from fcheck_files() via fcheck().
> 
> It's pretty clearly documented that fcheck() must be wrapped with
> rcu_read_lock(), so fix it.

But for this to actually be useful you'd need the rcu read lock until
your are done with the file (or got a reference).