+5
−2
Loading
Fix a race between fuse_iget() and fuse_reverse_inval_inode() where invalidation can arrive while an inode is being initialized, causing the invalidation to be lost. By keeping the inode state I_NEW as long as the attributes are not valid the invalidation can wait until the inode is fully initialized. Suggested-by:Joanne Koong <joannelkoong@gmail.com> Signed-off-by:
Horst Birthelmer <hbirthelmer@ddn.com> Signed-off-by:
Miklos Szeredi <mszeredi@redhat.com>