Commit 45c5b88
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>1 parent 2d5404c commit 45c5b88
1 file changed
+3
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | 662 | | |
678 | 663 | | |
679 | 664 | | |
| |||
686 | 671 | | |
687 | 672 | | |
688 | 673 | | |
689 | | - | |
| 674 | + | |
690 | 675 | | |
691 | 676 | | |
692 | 677 | | |
| |||
709 | 694 | | |
710 | 695 | | |
711 | 696 | | |
712 | | - | |
| 697 | + | |
713 | 698 | | |
714 | 699 | | |
715 | 700 | | |
| |||
722 | 707 | | |
723 | 708 | | |
724 | 709 | | |
725 | | - | |
| 710 | + | |
726 | 711 | | |
727 | 712 | | |
728 | 713 | | |
| |||
0 commit comments