Hello, Maneesh.
Maneesh Soni wrote:
> o sysfs_d_iput() is invoked in dentry reclaim path under memory pressure. This
> happens without i_mutex. It also nullifies s_dentry to indicate that
> the associated dentry is evicted. sysfs_readdir() accesses the s_dentry,
> and gets the inode number f
Maneesh Soni wrote:
> I have modified the previous patch (which was dropped from -mm) and now
> keeping
> the statement making s_dentry as NULL in sysfs_d_iput(), so this should
> _safely_ fix sysfs_readdir() oops.
>
If you could find some additional places in sysfs code to add new
BUG()
2 matches
Mail list logo