aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug-pagealloc.c
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-02-20 22:18:30 -0500
committerTao Ma <boyu.mt@taobao.com>2011-02-20 22:18:30 -0500
commit6218b90e7669d83cb8ad744f3400205d260597f2 (patch)
tree90f0f5e49ceb0cf2c40b100ec11a11beb25f0f0e /mm/debug-pagealloc.c
parent468eedde23d6c9335935773f4f5764267d5a7763 (diff)
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>
Diffstat (limited to 'mm/debug-pagealloc.c')
0 files changed, 0 insertions, 0 deletions