Ext3: use unlikely to improve the efficiency of the kernel
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sat, 12 Jan 2013 09:36:17 +0000 (01:36 -0800)
committerJan Kara <jack@suse.cz>
Mon, 21 Jan 2013 10:19:57 +0000 (11:19 +0100)
commit1b7d76e9b1106f2be062f915b05d47658dd4fc63
tree986543d21d3b870c54bd9e3280c7ec85fc4384db
parent2b0542a4a0d9b8cb98e64fc87c5e31d130029a92
Ext3: use unlikely to improve the efficiency of the kernel

Because the function 'sb_getblk' seldomly fails to return
NULL value,it will be better to use unlikely to check it.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c
fs/ext3/resize.c
fs/ext3/xattr.c