Zero flags and readbusy in inode::inode

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