aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/export.c
diff options
context:
space:
mode:
authorGravatar Mark Fasheh <mark.fasheh@oracle.com> 2007-09-12 11:19:00 -0700
committerGravatar Mark Fasheh <mark.fasheh@oracle.com> 2007-10-12 11:54:37 -0700
commit0bfbbf62a8b5a129ba2c689283bfece80a601aba (patch)
treeaf010d9f03acf04f81aef04eb07e2962fe502543 /fs/ocfs2/export.c
parentocfs2: Remove open coded readdir() (diff)
downloadlinux-0bfbbf62a8b5a129ba2c689283bfece80a601aba.tar.gz
linux-0bfbbf62a8b5a129ba2c689283bfece80a601aba.tar.bz2
linux-0bfbbf62a8b5a129ba2c689283bfece80a601aba.zip
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 <mark.fasheh@oracle.com> Reviewed-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/export.c')
0 files changed, 0 insertions, 0 deletions