Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/commit: don't query devino cache for modified files
We can't use the cache if the file we want to commit has been modified by the client through the modifier. In fact, the issue in #1165 was already solved by the previous commit, in which we stopped calling devino_cache_lookup() prematurely, because the dup'ed file_info here doesn't even have a device/inode attribute, so we would always get a cache miss. Though this is the more correct thing to do in general. Closes: #1165
- Loading branch information