The function returns ints and the callers expect ints. Declaring bool while
returning ints works, as generally compilers implement bools as ints.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
return -1;
}
-static bool ceph_snap_gmt_strip_snapshot(struct vfs_handle_struct *handle,
+static int ceph_snap_gmt_strip_snapshot(struct vfs_handle_struct *handle,
const struct smb_filename *smb_fname,
time_t *_timestamp,
char *_stripped_buf,