From: Mark Fasheh Date: Mon, 24 Sep 2007 21:25:27 +0000 (-0700) Subject: ocfs2: Optionally return filldir errors X-Git-Tag: v2.6.24-rc1~1398^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7b34019606ab1dd06196635e931b0c302799228;p=pandora-kernel.git 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 --- Reading git-diff-tree failed