Zero flags and readbusy in inode::inode

上级 050be79f
......@@ -234,7 +234,8 @@ iupdate(struct inode *ip)
// Though unlocked, all fields will be present,
// so looking a ip->inum and ip->gen are OK even w/o lock.
inode::inode()
: rcu_freed("inode")
: rcu_freed("inode"),
flags(0), readbusy(0)
{
dir = 0;
}
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论