]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: clean up add_dir_entry usage
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 18 Apr 2011 14:47:29 +0000 (17:47 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 22 Apr 2011 11:29:53 +0000 (14:29 +0300)
commit149d7521d52629aea35468cc42a2ddce93ae5cb7
tree0ad61a7fcc0df338fa5b529a099ea4c4b7ac699f
parent4499ce3b223410d010380efa0bbbcb1c00722006
fs-tests: integck: clean up add_dir_entry usage

Make 'add_dir_entry()' consistent and allocate name for all types,
not only for 'd' and 's'. Also, since 'add_dir_entry()' sets the
parent - do not do this in the calling functions.

This is a clean-up which makes 'add_dir_entry()' more consistent.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c