diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-04-16 16:12:05 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-04-17 22:16:14 +0200 |
commit | b497f1613187c142ad6d0b76761a49811c37da80 (patch) | |
tree | 1d9cf49eabbb1e9c2de5768ae52aeaa895c93a59 /libports/notify-no-senders.c | |
parent | 4266bb02b1f3342d3fc4920c07c71592a14acdd9 (diff) |
fatfs: port to libdiskfs' node cache
* fatfs/inode.c: Drop all cache-related code.
(diskfs_user_make_node): New function.
(diskfs_cached_lookup_in_dirbuf): Reimplement using the `lookup_context'.
(read_node): Rename to diskfs_user_read_node and adopt accordingly.
(diskfs_try_dropping_softrefs): Rename to `diskfs_user_try_dropping_softrefs'.
(diskfs_node_reload): Pass context to `diskfs_user_read_node'.
(diskfs_alloc_node): Pass `dir' via context to `diskfs_user_read_node'.
* fatfs/fatfs.h (struct disknode): Drop fields `hnext', `hprevp'.
(struct lookup_context): New definition.
(ifind): Drop declaration.
* fatfs/dir.c (diskfs_lookup_hard): Adjust accordingly.
* fatfs/main.c (fetch_root): Likewise.
Diffstat (limited to 'libports/notify-no-senders.c')
0 files changed, 0 insertions, 0 deletions