Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
file: Use lighter access to map of fs-info-s
Every time make_file_impl() creates a file it first counts the number of entries for the device, then tries to lookup the entry. Instead of relying on compiler to optimize it, it's nicer to lookup the entry once. Signed-off-by: Pavel Emelyanov <[email protected]>
- Loading branch information