Change error message to debug message when client dies while holding the
authorGareth Hughes <gareth@users.sourceforge.net>
Wed, 7 Mar 2001 15:06:57 +0000 (15:06 +0000)
committerGareth Hughes <gareth@users.sourceforge.net>
Wed, 7 Mar 2001 15:06:57 +0000 (15:06 +0000)
    lock. Should prevent bug reports about this, but you never know...

linux-core/drm_drv.c
linux/drm_drv.h

index d8a7d99..c19b639 100644 (file)
@@ -637,7 +637,7 @@ int DRM(release)( struct inode *inode, struct file *filp )
        if ( dev->lock.hw_lock &&
             _DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) &&
             dev->lock.pid == current->pid ) {
-               DRM_ERROR( "Process %d dead, freeing lock for context %d\n",
+               DRM_DEBUG( "Process %d dead, freeing lock for context %d\n",
                           current->pid,
                           _DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock) );
 #if __HAVE_RELEASE
index d8a7d99..c19b639 100644 (file)
@@ -637,7 +637,7 @@ int DRM(release)( struct inode *inode, struct file *filp )
        if ( dev->lock.hw_lock &&
             _DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) &&
             dev->lock.pid == current->pid ) {
-               DRM_ERROR( "Process %d dead, freeing lock for context %d\n",
+               DRM_DEBUG( "Process %d dead, freeing lock for context %d\n",
                           current->pid,
                           _DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock) );
 #if __HAVE_RELEASE