Ext2: use unlikely to improve the efficiency of the kernel
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sat, 12 Jan 2013 09:34:50 +0000 (01:34 -0800)
committerJan Kara <jack@suse.cz>
Mon, 21 Jan 2013 10:19:56 +0000 (11:19 +0100)
commit2b0542a4a0d9b8cb98e64fc87c5e31d130029a92
treef4dceeb8df21b16ffe4fe949816503b15d0fc649
parent61f43e6880dee5983999fe40bf96c1cf43740b4c
Ext2: 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 optimize it.

Signed-off-by: Wang shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c
fs/ext2/xattr.c