android_kernel_samsung_msm8226/fs/yaffs2
Sujit Reddy Thumma fb92e57e92 fs: yaffs2: Add null pointer check before dereferencing inode
In yaffs_rename(), d_entry->d_inode can be NULL if the
target directory doesn't exist or if there is any race
condition such as target directory being deleted while
renaming another directory to target directory name.
Avoid dereferencing d_inode in such cases.

CRs-Fixed: 360748
Change-Id: If95b4992f1056fea78f2e1bd54253cd5c8aac93d
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
2012-06-29 14:01:23 +05:30
..
Kconfig
Makefile
yaffs_allocator.c
yaffs_allocator.h
yaffs_attribs.c
yaffs_attribs.h
yaffs_bitmap.c
yaffs_bitmap.h
yaffs_checkptrw.c
yaffs_checkptrw.h
yaffs_ecc.c
yaffs_ecc.h
yaffs_getblockinfo.h
yaffs_guts.c
yaffs_guts.h
yaffs_linux.h
yaffs_mtdif.c Merge commit 'AU_LINUX_ANDROID_ICS.04.00.04.00.126' into msm-3.4 2012-06-06 18:45:28 -07:00
yaffs_mtdif.h
yaffs_mtdif1.c Merge commit 'AU_LINUX_ANDROID_ICS.04.00.04.00.126' into msm-3.4 2012-06-06 18:45:28 -07:00
yaffs_mtdif1.h
yaffs_mtdif2.c Merge commit 'AU_LINUX_ANDROID_ICS.04.00.04.00.126' into msm-3.4 2012-06-06 18:45:28 -07:00
yaffs_mtdif2.h
yaffs_nameval.c
yaffs_nameval.h
yaffs_nand.c
yaffs_nand.h
yaffs_packedtags1.c
yaffs_packedtags1.h
yaffs_packedtags2.c
yaffs_packedtags2.h
yaffs_tagscompat.c
yaffs_tagscompat.h
yaffs_tagsvalidity.c
yaffs_tagsvalidity.h
yaffs_trace.h
yaffs_verify.c
yaffs_verify.h
yaffs_vfs.c fs: yaffs2: Add null pointer check before dereferencing inode 2012-06-29 14:01:23 +05:30
yaffs_yaffs1.c
yaffs_yaffs1.h
yaffs_yaffs2.c
yaffs_yaffs2.h
yportenv.h