diff options
author | Ondrej Oprala | 2012-11-30 09:01:10 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-30 10:34:08 +0100 |
commit | 90cd46cbbd26a1e26a65716704c7a6bd788f4aa4 (patch) | |
tree | 10512092387bf151b1e5de29fbd13d48116892da /libmount/src/context.c | |
parent | libmount: add function attributes to public API (diff) | |
download | kernel-qcow2-util-linux-90cd46cbbd26a1e26a65716704c7a6bd788f4aa4.tar.gz kernel-qcow2-util-linux-90cd46cbbd26a1e26a65716704c7a6bd788f4aa4.tar.xz kernel-qcow2-util-linux-90cd46cbbd26a1e26a65716704c7a6bd788f4aa4.zip |
libmount: add function attributes to private API
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r-- | libmount/src/context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c index 721c497ef..21c64726f 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -1094,7 +1094,8 @@ struct libmnt_cache *mnt_context_get_cache(struct libmnt_context *cxt) * @get: callback to get password * @release: callback to release (delallocate) password * - * Sets callbacks for encryption password (e.g encrypted loopdev) + * Sets callbacks for encryption password (e.g encrypted loopdev). This + * function is deprecated (encrypted loops are no ore supported). * * Returns: 0 on success, negative number in case of error. */ @@ -1795,7 +1796,7 @@ int mnt_context_apply_fstab(struct libmnt_context *cxt) "trying to apply fstab (src=%s, target=%s)", src, tgt)); /* let's initialize cxt->fs */ - mnt_context_get_fs(cxt); + ignore_result( mnt_context_get_fs(cxt) ); /* try fstab */ if (cxt->optsmode & MNT_OMODE_FSTAB) { |