diff options
author | Karel Zak <kzak@redhat.com> | 2013-08-21 16:07:25 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2013-08-21 16:07:25 +0200 |
commit | c9f1585e67717068e82ba22bc498aabf2954c113 (patch) | |
tree | 01f996b217aef1f2efbf235667a16f7de5a5c96e /libmount/src/cache.c | |
parent | 6195f9e6fab612694ff97e66f9b276b913aa2d24 (diff) | |
download | util-linux-c9f1585e67717068e82ba22bc498aabf2954c113.tar.gz |
libmount: add reference counter to libmnt_table
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/cache.c')
-rw-r--r-- | libmount/src/cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmount/src/cache.c b/libmount/src/cache.c index cf5c6d43..92f46945 100644 --- a/libmount/src/cache.c +++ b/libmount/src/cache.c @@ -81,7 +81,8 @@ struct libmnt_cache *mnt_new_cache(void) * mnt_free_cache: * @cache: pointer to struct libmnt_cache instance * - * Deallocates the cache. + * Deallocates the cache. This function does not care about reference count. Don't + * use this function directly -- it's better to use use mnt_unref_cache(). */ void mnt_free_cache(struct libmnt_cache *cache) { |