Change error message to debug message when client dies while holding the

lock. Should prevent bug reports about this, but you never know...
This commit is contained in:
Gareth Hughes 2001-03-07 15:06:57 +00:00
parent 07f761bfae
commit 8c511c60ec
2 changed files with 2 additions and 2 deletions

View 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

View 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