Re: Race condition between iget_locked() and evict_inodes()

From: Al Viro
Date: Thu Sep 29 2016 - 08:17:25 EST


On Thu, Sep 29, 2016 at 11:53:21AM +0000, Anton Altaparmakov wrote:
> Thus if the events happen in this order:
>
> evict_inodes() iget_locked() in find_inode_fast()

... you are buggered, because somebody is trying to grab a reference
to inode on a filesystem that is being shut down. Look at evict_inode()
caller...