X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdi-set.c;h=b757d49eb2c19333f16dbad3905c4728ce8c9e08;hb=5191b3546cfb6c163228c23f214e325ddf60d46f;hp=4730e750a442ec727716f11265a19185640a2eca;hpb=489cedffb410a94803cf10502b27b1facf026dfc;p=gnulib.git diff --git a/lib/di-set.c b/lib/di-set.c index 4730e750a..b757d49eb 100644 --- a/lib/di-set.c +++ b/lib/di-set.c @@ -1,6 +1,6 @@ /* Set operations for device-inode pairs stored in a space-efficient manner. - Copyright 2009-2011 Free Software Foundation, Inc. + Copyright 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -233,7 +233,7 @@ di_set_insert (struct di_set *dis, dev_t dev, ino_t ino) return -1; /* Put I into the inode set. */ - return hash_insert0 (ino_set, (void const *) i, NULL); + return hash_insert_if_absent (ino_set, (void const *) i, NULL); } /* Look up the DEV,INO pair in the set DIS.