[PATCH] powerpc/spufs: Add rcu_read_lock() around fcheck()
    Christoph Hellwig 
    hch at lst.de
       
    Tue Apr 28 23:52:45 AEST 2020
    
    
  
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).
    
    
More information about the Linuxppc-dev
mailing list