11 Jul, 2017

1 commit

  • 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
    Acked-by: Ingo Molnar
    Fixes: ac6424b981bc ("sched/wait: Rename wait_queue_t => wait_queue_entry_t")
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

20 Jun, 2017

1 commit

  • Rename:

    wait_queue_t => wait_queue_entry_t

    'wait_queue_t' was always a slight misnomer: its name implies that it's a "queue",
    but in reality it's a queue *entry*. The 'real' queue is the wait queue head,
    which had to carry the name.

    Start sorting this out by renaming it to 'wait_queue_entry_t'.

    This also allows the real structure name 'struct __wait_queue' to
    lose its double underscore and become 'struct wait_queue_entry',
    which is the more canonical nomenclature for such data types.

    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

28 Feb, 2017

3 commits


12 Oct, 2016

1 commit


14 Oct, 2014

1 commit

  • This documents autofs from the perspective of what the module actually
    supports rather than how automount is expected to use it.

    It is formatted using "markdown" and works best with Markdown.pl
    (markdown_py doesn't like some constructs).

    [rdunlap@infradead.org: copy editing]
    Signed-off-by: NeilBrown
    Cc: Randy Dunlap
    Acked-by: Ian Kent
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    NeilBrown