On Mon, Jul 30, 2018 at 10:41 AM Miklos Szeredi wrote:
>
> On Mon, Jul 30, 2018 at 7:09 AM, Amir Goldstein wrote:
> > On Mon, Jul 30, 2018 at 1:04 AM, Al Viro wrote:
> >> From: Miklos Szeredi
> >>
> >> iput() ends up calling ->evict() on new inode, which is not yet initialized
> >> by owning fs
On Mon, Jul 30, 2018 at 7:09 AM, Amir Goldstein wrote:
> On Mon, Jul 30, 2018 at 1:04 AM, Al Viro wrote:
>> From: Miklos Szeredi
>>
>> iput() ends up calling ->evict() on new inode, which is not yet initialized
>> by owning fs. So use destroy_inode() instead.
>>
>> Add to sb->s_inodes list only
On Mon, Jul 30, 2018 at 1:04 AM, Al Viro wrote:
> From: Miklos Szeredi
>
> iput() ends up calling ->evict() on new inode, which is not yet initialized
> by owning fs. So use destroy_inode() instead.
>
> Add to sb->s_inodes list only if inode is not in I_CREATING state (meaning
> that it wasn't a
From: Miklos Szeredi
iput() ends up calling ->evict() on new inode, which is not yet initialized
by owning fs. So use destroy_inode() instead.
Add to sb->s_inodes list only if inode is not in I_CREATING state (meaning
that it wasn't allocated with new_inode(), which already does the
insertion).
4 matches
Mail list logo