android_kernel_xiaomi_sm8350/fs/xfs/linux-2.6
Christoph Hellwig 6a7f422d47 [XFS] kill di_mode checks after xfs_iget
Unless XFS_IGET_CREATE is passed xfs_iget will return ENOENT if it
encounters an inode with di_mode == 0. Remove the duplicated checks in the
callers.

(the log recovery case is not touched for now)

SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30898a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-04-29 15:53:31 +10:00
..
kmem.c [XFS] replace remaining __FUNCTION__ occurrences 2008-04-18 11:51:26 +10:00
kmem.h
mrlock.h
mutex.h
sema.h Convert asm/semaphore.h users to linux/semaphore.h 2008-04-18 22:22:54 -04:00
sv.h
time.h
xfs_aops.c [XFS] Catch unwritten extent conversion errors. 2008-04-18 12:00:58 +10:00
xfs_aops.h
xfs_buf.c [XFS] xfs_bdwrite() does not return errors. 2008-04-18 12:00:46 +10:00
xfs_buf.h [XFS] xfs_bdwrite() does not return errors. 2008-04-18 12:00:46 +10:00
xfs_cred.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_dmapi_priv.h
xfs_export.c [XFS] kill di_mode checks after xfs_iget 2008-04-29 15:53:31 +10:00
xfs_export.h
xfs_file.c [XFS] cleanup vnode use in dmapi calls 2008-04-18 11:40:15 +10:00
xfs_fs_subr.c [XFS] vnode cleanup in xfs_fs_subr.c 2008-04-18 11:39:03 +10:00
xfs_fs_subr.h
xfs_globals.c [XFS] Fix up sparse warnings. 2008-02-07 18:14:38 +11:00
xfs_globals.h
xfs_ioctl32.c [XFS] Fix up sparse warnings. 2008-02-07 18:14:38 +11:00
xfs_ioctl32.h
xfs_ioctl.c [XFS] kill di_mode checks after xfs_iget 2008-04-29 15:53:31 +10:00
xfs_iops.c [PATCH] r/o bind mounts: elevate count for xfs timestamp updates 2008-04-19 00:29:26 -04:00
xfs_iops.h
xfs_linux.h [XFS] Remove the xfs_refcache 2008-04-18 11:36:55 +10:00
xfs_lrw.c [PATCH] r/o bind mounts: elevate count for xfs timestamp updates 2008-04-19 00:29:26 -04:00
xfs_lrw.h [XFS] Ensure errors from xfs_bdstrat() are correctly checked. 2008-04-18 12:00:24 +10:00
xfs_stats.c
xfs_stats.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_super.c [XFS] Remove periodic logging of in-core superblock counters. 2008-04-18 12:03:12 +10:00
xfs_super.h [XFS] Remove CONFIG_XFS_SECURITY. 2008-04-18 12:04:19 +10:00
xfs_sysctl.c
xfs_sysctl.h
xfs_version.h
xfs_vfs.h [XFS] Remove periodic logging of in-core superblock counters. 2008-04-18 12:03:12 +10:00
xfs_vnode.c [XFS] add __init/__exit mark to specific init/cleanup functions 2008-02-07 18:25:19 +11:00
xfs_vnode.h [XFS] Remove VN_IS* macros and related cruft. 2008-04-29 15:53:05 +10:00