Linus Torvalds 7cee9384cb Fix up over-eager 'wait_queue_t' renaming
Commit ac6424b981bc ("sched/wait: Rename wait_queue_t =>
wait_queue_entry_t") had scripted the renaming incorrectly, and didn't
actually check that the 'wait_queue_t' was a full token.

As a result, it also triggered on 'wait_queue_token', and renamed that
to 'wait_queue_entry_token' entry in the autofs4 packet structure
definition too.  That was entirely incorrect, and not intended.

The end result built fine when building just the kernel - because
everything had been renamed consistently there - but caused problems in
user space because the "struct autofs_packet_missing" type is exported
as part of the uapi.

This scripts it all back again:

    git grep -lw wait_queue_entry_token |
        xargs sed -i 's/wait_queue_entry_token/wait_queue_token/g'

and checks the end result.

Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Fixes: ac6424b981bc ("sched/wait: Rename wait_queue_t => wait_queue_entry_t")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-10 11:40:19 -07:00
..
2017-07-07 10:37:54 -07:00
2017-04-14 14:00:49 -06:00
2017-07-07 14:04:47 -07:00
2017-07-09 18:48:37 -07:00
2017-07-08 15:51:57 -07:00
2017-05-05 11:36:44 -07:00
2017-07-09 18:48:37 -07:00
2017-07-06 11:15:19 -07:00
2017-05-02 17:34:32 -07:00
2017-04-03 18:53:50 +01:00
2017-07-07 13:55:45 -07:00
2017-06-08 18:52:43 -07:00
2017-03-31 12:55:11 +02:00
2017-05-16 08:44:18 -03:00
2017-07-06 10:56:51 -07:00
2017-07-03 20:55:59 -07:00
2017-03-17 15:10:49 +09:00
2017-07-07 14:04:47 -07:00
2017-04-27 15:54:39 -06:00
2017-02-12 15:20:07 -07:00
2017-07-05 11:46:59 -07:00
2017-04-27 15:54:39 -06:00
2017-04-27 15:54:39 -06:00