Bail out if glfs_creat failed
authorTiziano Müller <tiziano.mueller@stepping-stone.ch>
Thu, 3 Jul 2014 16:22:29 +0000 (18:22 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 3 Jul 2014 16:48:10 +0000 (10:48 -0600)
commit1a889967f9550baa21da2cc3e849a14b5a3daf7b
treea2884f567ea361ae95d623eccc0ab5e45f0b7f21
parentd7575845ab5481a3e2b17b5e32d4ad0a0d943087
Bail out if glfs_creat failed

Otherwise we will get segfaults from gfapi when it tries to access the
invalid fd.

Signed-off-by: Jens Axboe <axboe@fb.com>
engines/glusterfs.c