]> www.infradead.org Git - users/dwmw2/linux.git/commit
fs/9p: replace functions v9fs_cache_{register|unregister} with direct calls
authorColin Ian King <colin.i.king@gmail.com>
Thu, 7 Nov 2024 09:57:56 +0000 (09:57 +0000)
committerDominique Martinet <asmadeus@codewreck.org>
Sat, 16 Nov 2024 08:23:19 +0000 (17:23 +0900)
commit45c5b88ba96c344fbd7336919696dfc4d5e0d760
tree8cb8b79a19a398992d8600f29006a199474f053c
parent2d5404caa8c7bb5c4e0435f94b28834ae5456623
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: Colin Ian King <colin.i.king@gmail.com>
Message-ID: <20241107095756.10261-1-colin.i.king@gmail.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
fs/9p/v9fs.c