From: Mark Fasheh Date: Wed, 18 Feb 2009 19:41:38 +0000 (-0800) Subject: ocfs2: re-order ocfs2_empty_dir checks X-Git-Tag: v2.6.30-rc1~224^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80b549c3520b31d3bbc4b36e37e0a5102da0b94;p=pandora-kernel.git 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: Mark Fasheh --- Reading git-diff-tree failed