Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid inode cache in nffs_write_append() #18

Open
yashi opened this issue Sep 10, 2019 · 0 comments
Open

Invalid inode cache in nffs_write_append() #18

yashi opened this issue Sep 10, 2019 · 0 comments

Comments

@yashi
Copy link

yashi commented Sep 10, 2019

;; Even though README says we must report to Jira, I found that Jira is deprecated. So here I go.

nffs_write_append() gets a pointer to struct nffs_cache_inode as the first argument. Unfortunately, the function calls nffs_block_entry_reserve() as the first thing in the the function. Because nffs_block_entry_reserve() might invalidate the given cache in low memory situation, subsequent accesses to the cache must be protected by nffs_cache_inode_ensure().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant