Skip to content
Commit 45c5b88b authored by Colin Ian King's avatar Colin Ian King Committed by Dominique Martinet
Browse files

fs/9p: replace functions v9fs_cache_{register|unregister} with direct calls



The helper functions v9fs_cache_register and v9fs_cache_unregister are
trivial helper functions that don't offer any extra functionality and
are unncessary. Replace them with direct calls to v9fs_init_inode_cache
and v9fs_destroy_inode_cache respectively to simplify the code.

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Message-ID: <20241107095756.10261-1-colin.i.king@gmail.com>
Signed-off-by: Dominique Martinet's avatarDominique Martinet <asmadeus@codewreck.org>
parent 2d5404ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment