From: Christoph Hellwig Date: Tue, 22 Apr 2008 07:33:40 +0000 (+1000) Subject: [XFS] kill di_mode checks after xfs_iget X-Git-Tag: v2.6.26-rc1~346^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a7f422d47d4af461704ebb9d7a389d9e59766b2;p=pandora-kernel.git [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 Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed