From: Christoph Hellwig Date: Thu, 24 Jun 2010 01:51:19 +0000 (+1000) Subject: xfs: remove xfs_iput_new X-Git-Tag: v2.6.36-rc1~589^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef35e9255d4ed12522e836fbcec861e7306d794a;p=pandora-kernel.git xfs: remove xfs_iput_new We never get an i_mode of 0 or a locked VFS inode until we pass in the XFS_IGET_CREATE flag to xfs_iget, which makes xfs_iput_new equivalent to xfs_iput for the only caller. In addition to that xfs_nfs_get_inode does not even need to lock the inode given that the generation never changes for a life inode, so just pass a 0 lock_flags to xfs_iget and release the inode using IRELE in the error path. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner --- Reading git-diff-tree failed