summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-09-24 14:25:27 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2007-10-12 11:54:41 -0700
commite7b34019606ab1dd06196635e931b0c302799228 (patch)
treec5fc9393ddd817b3e577e6df755e924015d3c06e /fs/romfs
parent5b6a3a2b4a5f071d170f8122038dd647a84810a8 (diff)
downloadop-kernel-dev-e7b34019606ab1dd06196635e931b0c302799228.zip
op-kernel-dev-e7b34019606ab1dd06196635e931b0c302799228.tar.gz
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 <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud