mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Don't unnecesarily use inotify in nscd
This commit is contained in:
parent
32b63198d6
commit
21fd49a9ef
@ -1,3 +1,8 @@
|
||||
2011-10-07 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* nscd/connections.c (register_traced_file): Don't register file
|
||||
for disabled databases.
|
||||
|
||||
2011-10-06 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* nscd/grpcache.c (cache_addgr): Initialize written in all cases.
|
||||
|
@ -891,7 +891,7 @@ cannot set socket to close on exec: %s; disabling paranoia mode"),
|
||||
void
|
||||
register_traced_file (size_t dbidx, struct traced_file *finfo)
|
||||
{
|
||||
if (! dbs[dbidx].check_file)
|
||||
if (! dbs[dbidx].enabled || ! dbs[dbidx].check_file)
|
||||
return;
|
||||
|
||||
if (__builtin_expect (debug_level > 0, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user