diff --git a/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp b/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp index 887a4ba44a..3809f6ae5a 100644 --- a/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp +++ b/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp @@ -1198,7 +1198,7 @@ bfs_close(void *_ns, void *_node, void *_cookie) if (inode->Flags() & INODE_NO_CACHE) { volume->Pool().ReleaseBuffers(); - inode->Node().flags &= ~INODE_NO_CACHE; + inode->Node()->flags &= ~INODE_NO_CACHE; } return B_OK;