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
aops.h
attrib.c
attrib.h
bitmap.c
bitmap.h
ChangeLog
collate.c
collate.h
compress.c
debug.c
debug.h
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
ntfs.h
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
sysctl.h
time.h
types.h
unistr.c
upcase.c
usnjrnl.c
usnjrnl.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
volume.h