Make inode a public referenced and use tryinc where appropriate.
This fixes the deadlock where a thread tries to allocate an inode,
and calls ilock, while another thread is simultaneously freeing
the same inode.
正在显示
请
注册
或者
登录
后发表评论