fs/fuse: fix ioctl type confusion
fs/fuse: fix ioctl type confusion

fuse_dev_ioctl() performed fuse_get_dev() on a user-supplied fd,
leading to a type confusion issue. Fix it by checking file->f_op.

Signed-off-by: Jann Horn <1ff1d5ceb421971f93e6626b02a9591b29d7600e@thejh.net>
Acked-by: Miklos Szeredi <5b12a9416e3384398bb726baf00af74a15267cf7@szeredi.hu>
Signed-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs