Skip to content
Commit b80b549c authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: re-order ocfs2_empty_dir checks



ocfs2_empty_dir() is far more expensive than checking link count. Since both
need to be checked at the same time, we can improve performance by checking
link count first.

Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent 3a8df2b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment