From: Mark Fasheh Date: Wed, 12 Sep 2007 18:19:00 +0000 (-0700) Subject: ocfs2: Implement ocfs2_empty_dir() as a caller of ocfs2_dir_foreach() X-Git-Tag: v2.6.24-rc1~1398^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bfbbf62a8b5a129ba2c689283bfece80a601aba;p=pandora-kernel.git ocfs2: Implement ocfs2_empty_dir() as a caller of ocfs2_dir_foreach() We can preserve the behavior of ocfs2_empty_dir(), while getting rid of the open coded directory walk by just providing a smart filldir callback. This also automatically gets to use the dir readahead code, though in this case any advantage is minor at best. Signed-off-by: Mark Fasheh Reviewed-by: Joel Becker --- Reading git-diff-tree failed