diff options
author | Mark Fasheh <mfasheh@suse.com> | 2009-02-18 20:41:38 +0100 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-04-03 20:39:17 +0200 |
commit | b80b549c3520b31d3bbc4b36e37e0a5102da0b94 (patch) | |
tree | 403d548a9be6a1e1ae8063a732d520a06defd83c /fs/ocfs2/acl.c | |
parent | ocfs2: Enable indexed directories (diff) | |
download | linux-b80b549c3520b31d3bbc4b36e37e0a5102da0b94.tar.xz linux-b80b549c3520b31d3bbc4b36e37e0a5102da0b94.zip |
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 <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/acl.c')
0 files changed, 0 insertions, 0 deletions