linux/fs/ntfs
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
..
aops.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
aops.h
attrib.c NTFS: Fix read regression. 2007-11-03 12:27:21 -07:00
attrib.h
bitmap.c
bitmap.h
ChangeLog fix typo "insted" -> "instead" 2007-10-20 01:55:04 +02:00
collate.c
collate.h
compress.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
debug.c
debug.h ntfs: don't fool kernel-doc 2008-12-01 19:55:25 -08:00
dir.c ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
dir.h
endian.h
file.c ntfs: remove ntfs_file_write 2009-09-23 07:39:29 -07:00
index.c
index.h
inode.c ntfs: use is_power_of_2() function for clarity. 2009-06-16 19:47:48 -07:00
inode.h
Kconfig fs/Kconfig: move ntfs out 2009-01-22 13:15:55 +03:00
layout.h trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
lcnalloc.c
lcnalloc.h
logfile.c ntfs: use is_power_of_2() function for clarity. 2009-06-16 19:47:48 -07:00
logfile.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
Makefile
malloc.h mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
mft.c ntfs: Use new syncing helpers and update comments 2009-09-14 17:08:16 +02:00
mft.h
mst.c
namei.c [PATCH] switch all filesystems over to d_obtain_alias 2008-10-23 05:13:01 -04:00
ntfs.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
quota.c
quota.h
runlist.c
runlist.h
super.c fs: Make unload_nls() NULL pointer safe 2009-09-24 07:47:42 -04:00
sysctl.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sysctl.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
time.h
types.h
unistr.c
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c
usnjrnl.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
volume.h