5d3c06e parent 5b6a3a2b4a5f071d170f8122038dd647a84810a8 author Mark Fasheh 1190669127 -0700 committer Mark Fasheh 1192215281 -0700 ocfs2: Optionally return filldir errors Modify ocfs2_dir_foreach_blk() to optionally return any error from the filldir callback. This way ocfs2_dirforeach() can terminate early, as opposed to always passing through the entire directory. This fixes a bug introduced during a previous code refactor where ocfs2_empty_dir() would loop infinitely. Signed-off-by: Mark Fasheh +pÑì˜0x