diff options
author | Steve Dickson <steved@redhat.com> | 2020-08-05 14:59:23 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2020-08-07 11:10:19 -0400 |
commit | 841abefc91ee870fe7cc8a4e36905b1655410c54 (patch) | |
tree | dab961975e5fb65d440275823c8e4150ed52f15a /utils | |
parent | 55fbd921b9ded5b5d341d6e07e1839a749648f97 (diff) | |
download | nfs-utils-841abefc91ee870fe7cc8a4e36905b1655410c54.tar.gz |
rpc.idmapd: Turn down the verbosity in flush_inotify()
Commit 27a8e146 introduce a debugging message
that was not cover by a check if verbose
is set, which cause a large number of message
to be logged on every kerberos mount
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1867172
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/idmapd/idmapd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index 86314147..7d1096d4 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -500,7 +500,8 @@ flush_inotify(int fd) ptr += sizeof(struct inotify_event) + ev->len) { ev = (const struct inotify_event *)ptr; - xlog_warn("pipefs inotify: wd=%i, mask=0x%08x, len=%i, name=%s", + if (verbose > 1) + xlog_warn("pipefs inotify: wd=%i, mask=0x%08x, len=%i, name=%s", ev->wd, ev->mask, ev->len, ev->len ? ev->name : ""); } } |