Fix glusterfs backend crash found at the Microsoft interop event.
commit6c49f90965327a7f70d24fecdb7529f3f78fc9e4
authorJeremy Allison <jra@samba.org>
Fri, 21 Jun 2013 16:56:22 +0000 (21 09:56 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 21 Jun 2013 17:58:47 +0000 (21 10:58 -0700)
treed8652d462f7150796eb4d8079503a98db1167874
parentb96cea4aa5b707cbd01d75ecb4782496160db961
Fix glusterfs backend crash found at the Microsoft interop event.

Based on a fix originally from Raghavendra Talur <rtalur@redhat.com>.

When a new document is created in explorer, a check for file_exist is made.
vfs_gluster_get_real_filename was returning 0 even when the file did not
exist.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: "Christopher R. Hertel" <crh@ubiqx.mn.org>
source3/modules/vfs_glusterfs.c