]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Minor typo and comment addition.
authorXavier Roche <roche@httrack.com>
Wed, 11 Feb 2015 07:39:56 +0000 (08:39 +0100)
committerXavier Roche <roche@httrack.com>
Wed, 11 Feb 2015 07:39:56 +0000 (08:39 +0100)
src/include/cephfs/libcephfs.h

index 1d7de9decf4bad5fc29ef04568272fd653d5f3b1..1913b2386c2a760f55ec011fbafc09ed7bde64e9 100644 (file)
@@ -686,13 +686,13 @@ int ceph_utime(struct ceph_mount_info *cmount, const char *path, struct utimbuf
 /**
  * Apply or remove an advisory lock.
  *
- * @param cmount the ceph mount handle to use for performing the utime.
+ * @param cmount the ceph mount handle to use for performing the lock.
  * @param fd the open file descriptor to change advisory lock.
  * @param operation the advisory lock operation to be performed on the file
  * descriptor among LOCK_SH (shared lock), LOCK_EX (exclusive lock),
  * or LOCK_UN (remove lock). The LOCK_NB value can be ORed to perform a
  * non-blocking operation.
- * @param owner the user-supplied owner identifier
+ * @param owner the user-supplied owner identifier (an arbitrary integer)
  * @returns 0 on success or negative error code on failure.
  */
 int ceph_flock(struct ceph_mount_info *cmount, int fd, int operation,