diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-02-08 18:58:35 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:58:53 +0200 |
commit | 46d6ff5ddb198c355a8e6c64bbb2ea39c303d9b4 (patch) | |
tree | 4d556ab2a74d57af2e329f1381ccc578c5b9f1bd /src/basic/mount-util.c | |
parent | 96d5ca4f321678a9aeb20a446ba8e35bf79894a1 (diff) |
tree-wide: use path_hash_ops instead of string_hash_ops whenever we key by a path
Let's make use of our new hash_ops!
Diffstat (limited to 'src/basic/mount-util.c')
-rw-r--r-- | src/basic/mount-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index 03e1b9a42..8b480bbeb 100644 --- a/src/basic/mount-util.c +++ b/src/basic/mount-util.c @@ -427,7 +427,7 @@ int bind_remount_recursive_with_mountinfo(const char *prefix, bool ro, char **bl path_kill_slashes(cleaned); - done = set_new(&string_hash_ops); + done = set_new(&path_hash_ops); if (!done) return -ENOMEM; @@ -437,7 +437,7 @@ int bind_remount_recursive_with_mountinfo(const char *prefix, bool ro, char **bl char *x; unsigned long orig_flags; - todo = set_new(&string_hash_ops); + todo = set_new(&path_hash_ops); if (!todo) return -ENOMEM; |