Files
android_kernel_xiaomi_sm8450/fs/xfs/linux-2.6
Christoph Hellwig ef35e9255d 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 <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2010-07-26 13:16:44 -05:00
..
2008-04-29 15:54:02 +10:00
2008-12-04 15:39:21 +11:00
2010-05-21 18:31:19 -04:00
2010-07-26 13:16:41 -05:00
2010-07-26 13:16:36 -05:00
2008-12-29 16:47:18 +11:00
2010-07-26 13:16:44 -05:00
2007-10-22 08:13:20 -07:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2009-09-15 12:29:24 -05:00
2008-10-30 16:55:03 +11:00
2010-07-26 13:16:33 -05:00
2009-12-14 23:08:16 -06:00
2010-05-21 18:31:19 -04:00