WSL2-Linux-Kernel/fs/fat
Thomas Gleixner 6d729e44a5 fs: Make unload_nls() NULL pointer safe
Most call sites of unload_nls() do:
	if (nls)
		unload_nls(nls);

Check the pointer inside unload_nls() like we do in kfree() and
simplify the call sites.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Steve French <sfrench@us.ibm.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
Cc: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-09-24 07:47:42 -04:00
..
Kconfig vfat: Note the NLS requirement 2009-04-17 09:32:11 -07:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
cache.c FAT: add 'errors' mount option 2009-06-04 02:34:51 +09:00
dir.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
fat.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6 2009-06-16 11:29:44 -07:00
fatent.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/hirofumi/fatfs-2.6 2009-06-16 11:29:44 -07:00
file.c fat: Opencode sync_page_range_nolock() 2009-09-14 17:08:17 +02:00
inode.c fs: Make unload_nls() NULL pointer safe 2009-09-24 07:47:42 -04:00
misc.c fat: Opencode sync_page_range_nolock() 2009-09-14 17:08:17 +02:00
namei_msdos.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
namei_vfat.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00