We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b799220 commit 7124a89Copy full SHA for 7124a89
fs/bcachefs/fs.c
@@ -227,7 +227,9 @@ static struct bch_inode_info *__bch2_new_inode(struct bch_fs *c)
227
mutex_init(&inode->ei_update_lock);
228
two_state_lock_init(&inode->ei_pagecache_lock);
229
INIT_LIST_HEAD(&inode->ei_vfs_inode_list);
230
+ inode->ei_flags = 0;
231
mutex_init(&inode->ei_quota_lock);
232
+ memset(&inode->ei_devs_need_flush, 0, sizeof(inode->ei_devs_need_flush));
233
inode->v.i_state = 0;
234
235
if (unlikely(inode_init_always(c->vfs_sb, &inode->v))) {
0 commit comments