projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9482f3b
)
bcachefs: fix incorrect i_state usage
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 16 Aug 2024 16:44:49 +0000
(12:44 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 16 Aug 2024 16:46:40 +0000
(12:46 -0400)
Reported-by: syzbot+95e40eae71609e40d851@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index
15fc41e
..
94c392a
100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-193,7
+193,7
@@
static struct bch_inode_info *bch2_inode_insert(struct bch_fs *c, struct bch_ino
* only insert fully created inodes in the inode hash table. But
* discard_new_inode() expects it to be set...
*/
- inode->v.i_
flags
|= I_NEW;
+ inode->v.i_
state
|= I_NEW;
/*
* We don't want bch2_evict_inode() to delete the inode on disk,
* we just raced and had another inode in cache. Normally new