inode: correct close behaviour for devices (note: impacts some drivers!)
authorAlan Cox <alan@linux.intel.com>
Thu, 21 May 2015 22:44:38 +0000 (23:44 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 21 May 2015 22:44:38 +0000 (23:44 +0100)
commit592109de1b687dd91ed5cc5a698767343fffccec
treeb4bc97989d0d0f9f7d8934cd5f310ab10249078f
parent7805e4f743e5b75fcf3fc020836ec76496d5eb03
inode: correct close behaviour for devices (note: impacts some drivers!)

We should call _close for each close matching the final close of an open.
This is a slight change in semantics but it's what we actually need to sort
must things out.

Yes it breaks some devices..diddums 8)
Kernel/inode.c