Whamcloud - gitweb
libe2p: Change iterate_on_dir so that it counts non-zero returns
authorTheodore Ts'o <tytso@mit.edu>
Mon, 22 Oct 2007 12:25:13 +0000 (08:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Oct 2007 12:25:13 +0000 (08:25 -0400)
commit14bd240b4607971151611626ec83dc821f92be5f
tree9b50324e051a0831e98be66478b68d0dc851df3d
parent1a4ce9df5884405a7152855b868c3a7bfbeec385
libe2p: Change iterate_on_dir so that it counts non-zero returns

To allow error messages to be reflected up, if the callback function
returns a non-zero value, bump a counter and return the number of
times the callback function signals an error by returning a non-zero
status code.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/e2p/iod.c