This can be useful for troubleshooting purposes and this information is not directly avalaible to userland Signed-off-by: Roberto Bergantinos Corpas <rbergant@xxxxxxxxxx> --- fs/autofs/waitq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index b04c528b19d3..1a151a3b7d8b 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -88,9 +88,10 @@ static void autofs_notify_daemon(struct autofs_sb_info *sbi, size_t pktsz; int ret; - pr_debug("wait id = 0x%08lx, name = %.*s, type=%d\n", + pr_debug("wait id = 0x%08lx, name = %.*s, type=%d, requested by (%d/%s)\n", (unsigned long) wq->wait_queue_token, - wq->name.len, wq->name.name, type); + wq->name.len, wq->name.name, type, + wq->pid, current->comm); memset(&pkt, 0, sizeof(pkt)); /* For security reasons */ -- 2.21.0