]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SPARC64: vcc: delay device removal until close()
authorAaron Young <Aaron.Young@oracle.com>
Tue, 11 Jul 2017 16:56:40 +0000 (09:56 -0700)
committerAllen Pais <allen.pais@oracle.com>
Tue, 18 Jul 2017 12:25:00 +0000 (17:55 +0530)
commit8fbcf236eab82f54be25fa924f606a7fb4f193e4
treed31790a2e9cdf641938bc39e6b62070d52a74573
parent02908f7424ee74dbfc3776fd8a45ebcafa0f0ff7
SPARC64: vcc: delay device removal until close()

    If a vcc device file is open while it's removed (due to a
    domain being unbound), delay the removal of the associated vcc
    device structure until the final close() call is made on
    the device. This preventsthe  device file cdev minor number from
    being reused which can result in ugly filesystem warnings to
    the console.

Orabug: 24594547

Signed-off-by: Aaron Young <aaron.young@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Reviewed-By: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
drivers/tty/vcc.c