Message ID | Ye6tQ6i83vth4BAQ@decadent.org.uk |
---|---|
State | New |
Headers | show |
Series | [4.9,1/2] fuse: fix bad inode | expand |
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index bd82c09b053d..7e4b0e298bc7 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -692,6 +692,7 @@ static inline u64 get_node_id(struct inode *inode) static inline void fuse_make_bad(struct inode *inode) { + remove_inode_hash(inode); set_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state); }