Revert "char: misc: assign file->private_data in all cases"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2013 17:12:48 +0000 (10:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2013 17:12:48 +0000 (10:12 -0700)
commit380672698b8e64f0b5e418412b1ed370bd366428
tree3644efbd10ab97f426542313add16099e774053f
parentcee4fbd6cd7608f6dad7539f39e9281125702a16
Revert "char: misc: assign file->private_data in all cases"

This reverts commit 585d98e00ba7a5e2abe65f7a1eff631cb612289b, as it
breaks the FUSE misc driver.

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/misc.c