char: misc: document behaviour of open()
authorMartin Kepplinger <martink@posteo.de>
Mon, 23 Mar 2015 12:59:46 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2015 10:36:38 +0000 (11:36 +0100)
commit03190c67ff72b5c56b24266762ab8abe68970f45
treeef65dc83f28caa0cf100c47165b1ce4837d0ab53
parentab3ae0096a6d31e1b244c5c5155f48ef3700329e
char: misc: document behaviour of open()

an open syscall now assignes file->private_data to a pointer to the
miscdevice structure. This reminds people not to duplicate code if
they want this and not to depend on it being NULL.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/misc.c