Properly initialize shadow_fd to -1
authorJens Axboe <axboe@fb.com>
Tue, 1 Apr 2014 18:28:15 +0000 (12:28 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Apr 2014 18:28:15 +0000 (12:28 -0600)
commit4db205dc7c0195cacc949cfbc461350ca6ec74b0
tree302d9cc16b33441a4c39323d9d82193ed1ac598a
parentece6d647df9a5885ce5325e3e66e4c65d8180e61
Properly initialize shadow_fd to -1

We forget that in one case, causing all sorts of issues when
we end up closing this bogus (STDIN) descriptor.

Signed-off-by: Jens Axboe <axboe@fb.com>
filesetup.c