Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fat: remove unused parameter

Remove unused inode parameter from fat_cache_alloc().

Link: https://lkml.kernel.org/r/20251201214403.90604-2-lalitshankarch@gmail.com
Signed-off-by: Lalit Shankar Chowdhury <lalitshankarch@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Lalit Shankar Chowdhury and committed by
Andrew Morton
b8f690f6 e700f5d1

+2 -2
+2 -2
fs/fat/cache.c
··· 54 54 kmem_cache_destroy(fat_cache_cachep); 55 55 } 56 56 57 - static inline struct fat_cache *fat_cache_alloc(struct inode *inode) 57 + static inline struct fat_cache *fat_cache_alloc(void) 58 58 { 59 59 return kmem_cache_alloc(fat_cache_cachep, GFP_NOFS); 60 60 } ··· 144 144 MSDOS_I(inode)->nr_caches++; 145 145 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); 146 146 147 - tmp = fat_cache_alloc(inode); 147 + tmp = fat_cache_alloc(); 148 148 if (!tmp) { 149 149 spin_lock(&MSDOS_I(inode)->cache_lru_lock); 150 150 MSDOS_I(inode)->nr_caches--;