summaryrefslogtreecommitdiff
path: root/linux-core/drm_ioctl.c
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2008-09-20 18:34:57 -0400
committerRobert Noland <rnoland@2hip.net>2008-10-01 20:49:03 -0400
commit81952c7dd18d8fc4617fe4cb761fdf830de5244f (patch)
treea06ad21e5e4eb6c211f5a7b30a8b1275a4adef72 /linux-core/drm_ioctl.c
parent073cb5ee1d12a7f1a18b7d732f346c16eb740f49 (diff)
Use devfs_get_cdevpriv in mmap as well.
d_mmap gets called twice and we are only able to associate the file_priv during the first call. The second call will return EBADF and we need to assume that the call was succesful. d_mmap will not tolerate having an error returned for the second call.
Diffstat (limited to 'linux-core/drm_ioctl.c')
0 files changed, 0 insertions, 0 deletions