From c5d78f4a97f9bfb6dd5d98750e1725308672c811 Mon Sep 17 00:00:00 2001 From: Andras Elso Date: Wed, 27 Feb 2013 00:14:49 +0100 Subject: [PATCH] libcephfs: fix default parameters document for ceph_open_layout Signed-off-by: Andras Elso --- src/include/cephfs/libcephfs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/cephfs/libcephfs.h b/src/include/cephfs/libcephfs.h index 7b04cce427093..adcdb39e6007a 100644 --- a/src/include/cephfs/libcephfs.h +++ b/src/include/cephfs/libcephfs.h @@ -610,9 +610,9 @@ int ceph_open(struct ceph_mount_info *cmount, const char *path, int flags, mode_ * @param flags a set of option masks that control how the file is created/opened. * @param mode the permissions to place on the file if the file does not exist and O_CREAT * is specified in the flags. - * @param stripe_unit the stripe unit size (option, -1 for default) - * @param stripe_count the stripe count (optional, -1 for default) - * @param object_size the object size (optional, -1 for default) + * @param stripe_unit the stripe unit size (option, 0 for default) + * @param stripe_count the stripe count (optional, 0 for default) + * @param object_size the object size (optional, 0 for default) * @param data_pool name of target data pool name (optional, NULL or empty string for default) * @returns a non-negative file descriptor number on success or a negative error code on failure. */ -- 2.39.5