]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: close files after creation
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 26 May 2011 10:43:13 +0000 (13:43 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 27 May 2011 12:55:08 +0000 (15:55 +0300)
commita6c05d9a6033f04ded278e29b71c46a98efd6bf3
tree0c52be5be3c49cc18600f51d87e7ccfb975f289e
parent80a3b730e9b1044d689997e8d68e3b6acb71c7a3
fs-tests: integck: close files after creation

The 'file_new()' function should create a file but should not keep it
open. There is a different path to open files and keep them open. This
patch makes 'file_new()' close newly created files.

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