Revert "misc: always assign miscdevice to file->private_data in open()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Nov 2014 00:49:49 +0000 (16:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Nov 2014 00:49:49 +0000 (16:49 -0800)
commite88b1fc6a1c1d088824eb4869a70c374da9ebc86
tree35db9cac722577d116112db2c825e395e9ca6fb0
parent4bc33a2cd5070188c79029a8a9f2058dfd2a79a8
Revert "misc: always assign miscdevice to file->private_data in open()"

This reverts commit 32eca22180804f71b06b63fd29b72f58be8b3c47.

Changing core kernel code to operate in a different manner, without a
build-time breakage is tough to do and ensure you got it right.  There
are lots of problems popping up due to this change, so let's revert it
for now as it is not safe to merge to the tree at this point in time.

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