mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: Don't lie in virFileGetMount*Subtree's docstrings
The resulting function virFileGetMountSubtreeImpl() just uses virStringSortRevCompare or virStringSortCompare which uses strcmp(). Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
c51cd0cd69
commit
08ad8f9fe2
@ -1965,7 +1965,7 @@ virFileGetMountSubtreeImpl(const char *mtabpath ATTRIBUTE_UNUSED,
|
|||||||
* @nmountsret: filled with number of matching mounts, not counting NULL terminator
|
* @nmountsret: filled with number of matching mounts, not counting NULL terminator
|
||||||
*
|
*
|
||||||
* Return the list of mounts from @mtabpath which contain
|
* Return the list of mounts from @mtabpath which contain
|
||||||
* the path @prefix, sorted from shortest to longest path.
|
* the path @prefix, sorted alphabetically.
|
||||||
*
|
*
|
||||||
* The @mountsret array will be NULL terminated and should
|
* The @mountsret array will be NULL terminated and should
|
||||||
* be freed with virStringListFree
|
* be freed with virStringListFree
|
||||||
@ -1988,8 +1988,7 @@ int virFileGetMountSubtree(const char *mtabpath,
|
|||||||
* @nmountsret: filled with number of matching mounts, not counting NULL terminator
|
* @nmountsret: filled with number of matching mounts, not counting NULL terminator
|
||||||
*
|
*
|
||||||
* Return the list of mounts from @mtabpath which contain
|
* Return the list of mounts from @mtabpath which contain
|
||||||
* the path @prefix, sorted from longest to shortest path.
|
* the path @prefix, reverse-sorted alphabetically.
|
||||||
* ie opposite order to which they appear in @mtabpath
|
|
||||||
*
|
*
|
||||||
* The @mountsret array will be NULL terminated and should
|
* The @mountsret array will be NULL terminated and should
|
||||||
* be freed with virStringListFree
|
* be freed with virStringListFree
|
||||||
|
Loading…
Reference in New Issue
Block a user