diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-05 12:50:58 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 15:09:38 +1000 |
commit | bc5f4523f772cc7629c5c5a46cf4f2a07a5500b8 (patch) | |
tree | 8fa2f5194bb05d7e789e5d24a0fe3a7456568146 /drivers/char/drm/drm_ioctl.c | |
parent | 8562b3f25d6e23c9d9e48a32672944d1e8a2aa97 (diff) | |
download | op-kernel-dev-bc5f4523f772cc7629c5c5a46cf4f2a07a5500b8.zip op-kernel-dev-bc5f4523f772cc7629c5c5a46cf4f2a07a5500b8.tar.gz |
drm: run cleanfile across drm tree
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_ioctl.c')
-rw-r--r-- | drivers/char/drm/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_ioctl.c b/drivers/char/drm/drm_ioctl.c index 3cbebf8..b4d86a3 100644 --- a/drivers/char/drm/drm_ioctl.c +++ b/drivers/char/drm/drm_ioctl.c @@ -234,7 +234,7 @@ int drm_getclient(struct drm_device *dev, void *data, idx = client->idx; mutex_lock(&dev->struct_mutex); - + if (list_empty(&dev->filelist)) { mutex_unlock(&dev->struct_mutex); return -EINVAL; |