xfstests: Don't use tempnam in growfiles.c
authorDave Chinner <david@fromorbit.com>
Wed, 20 Jan 2010 21:53:53 +0000 (08:53 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jan 2010 21:53:53 +0000 (08:53 +1100)
commite7cfc10a44d1807b197b1dae082ba78f2e08767e
treeb0b5ce5ca482dd45ee6fd40cbc64c525c036abfe
parentb1da8307916bc60e952d82c3d894c52559323648
xfstests: Don't use tempnam in growfiles.c

tempnam() generates a compiler warning as a dangerous function.
This code doesn't care about security issues with tempnam, so
remove it and just manually build the filenames without the
randomness of tempnam.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
ltp/growfiles.c