Tao Ma 6218b90e76 ocfs2: Little refactoring against ocfs2_iget.
ocfs2_iget is used to get/create inode. Only iget5_locked
will give us an inode = NULL. So move this check ahead of
ocfs2_read_locked_inode so that we don't need to check
inode before we read and unlock inode. This is also helpful
for trace event(see the next patch).

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
2011-02-21 11:18:30 +08:00
..
2011-03-07 16:43:21 +08:00
2011-01-07 17:50:26 +11:00
2011-02-21 11:18:23 +08:00
2010-09-08 14:25:53 +08:00
2011-03-07 16:43:21 +08:00
2010-09-10 09:18:15 -07:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2010-09-10 09:18:15 -07:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-02-21 11:18:23 +08:00
2010-05-05 18:17:30 -07:00
2011-02-22 21:59:46 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2011-03-07 16:43:21 +08:00
2010-05-21 18:31:20 -04:00