diff options
author | Karel Zak | 2012-02-22 13:02:17 +0100 |
---|---|---|
committer | Karel Zak | 2012-02-22 13:02:17 +0100 |
commit | ee3140752f7aa17185e733c3ad97551522c4fc77 (patch) | |
tree | 1b6f15c4982a759113de57d95ab47c28da53097e /libmount/src/context.c | |
parent | libblkid: update docs (diff) | |
download | kernel-qcow2-util-linux-ee3140752f7aa17185e733c3ad97551522c4fc77.tar.gz kernel-qcow2-util-linux-ee3140752f7aa17185e733c3ad97551522c4fc77.tar.xz kernel-qcow2-util-linux-ee3140752f7aa17185e733c3ad97551522c4fc77.zip |
libmount: cleanup docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r-- | libmount/src/context.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c index 2d88dc38e..f526d29bf 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Karel Zak <kzak@redhat.com> + * Copyright (C) 2010,2011,2012 Karel Zak <kzak@redhat.com> * * This file may be redistributed under the terms of the * GNU Lesser General Public License. @@ -175,7 +175,7 @@ int mnt_reset_context(struct libmnt_context *cxt) * mnt_context_reset_status: * @cxt: context * - * Resets mount(2) and mount.<type> statuses, so mnt_context_do_mount() or + * Resets mount(2) and mount.type statuses, so mnt_context_do_mount() or * mnt_context_do_umount() could be again called with the same settings. * * BE CAREFUL -- after this soft reset the libmount will NOT parse mount @@ -943,8 +943,10 @@ struct libmnt_cache *mnt_context_get_cache(struct libmnt_context *cxt) /** * mnt_context_set_passwd_cb: * @cxt: mount context + * @get: callback to get password + * @release: callback to release (delallocate) password * - * Sets callbacks for encryption password. + * Sets callbacks for encryption password (e.g encrypted loopdev) * * Returns: 0 on success, negative number in case of error. */ @@ -1690,7 +1692,7 @@ int mnt_context_helper_executed(struct libmnt_context *cxt) * mnt_context_get_helper_status: * @cxt: mount context * - * Return: mount.<type> exit status, result is reliable only if + * Return: mount.type helper exit status, result is reliable only if * mnt_context_helper_executed() returns 1. */ int mnt_context_get_helper_status(struct libmnt_context *cxt) |