ext4: use unlikely to improve the efficiency of the kernel
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sat, 12 Jan 2013 21:28:47 +0000 (16:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Jan 2013 21:28:47 +0000 (16:28 -0500)
commitaebf02430d25b6bd2b8542126fdcdb90e75a24b8
tree7f884e64b000d9bed3a59dd557b3075a2da4405d
parent860d21e2c585f7ee8a4ecc06f474fdc33c9474f4
ext4: 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: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/mmp.c
fs/ext4/resize.c
fs/ext4/xattr.c