summaryrefslogtreecommitdiff
path: root/fs/ocfs2/ioctl.c
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-01-24 23:23:30 +0800
committerJoel Becker <jlbec@evilplan.org>2011-02-20 03:56:12 -0800
commit1dd9ffc827b8591aabcf5fea6ea83b69e846deb9 (patch)
tree3ac43761aa3e4ed81ac851e376909c407a17e3fe /fs/ocfs2/ioctl.c
parent5bc970e803ad2b1f26771f39376a79dbf0f5bf64 (diff)
downloadkernel-common-1dd9ffc827b8591aabcf5fea6ea83b69e846deb9.tar.gz
kernel-common-1dd9ffc827b8591aabcf5fea6ea83b69e846deb9.tar.bz2
kernel-common-1dd9ffc827b8591aabcf5fea6ea83b69e846deb9.zip
ocfs2: optimize ocfs2_check_dir_entry() with unlikely() annotations
In cad3f00, ext4_check_dir_entry was modified by adding some unlikely. Ted described it as "This function gets called a lot for large directories, and the answer is almost always 'no, no, there's no problem'. This means using unlikely() is a good thing." ext3 added the similar change in commit a4ae309. So change it accordingly in ocfs2. Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: Joel Becker <jlbec@evilplan.org>
Diffstat (limited to 'fs/ocfs2/ioctl.c')
0 files changed, 0 insertions, 0 deletions