mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Fix usage of MUTEX macro in mutex_enter_nested
A call site of the MUTEX macro had incorrectly placed its closing parenthesis, causing two parameters to be passed rather than one. This change moves the misplaced parenthesis to fix the typographical error. Signed-off-by: Prakash Surya <surya1@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #70
This commit is contained in:
		
							parent
							
								
									791dc876eb
								
							
						
					
					
						commit
						93806f58a6
					
				| @ -195,7 +195,7 @@ spl_mutex_clear_owner(kmutex_t *mp) | |||||||
| #ifdef HAVE_GPL_ONLY_SYMBOLS | #ifdef HAVE_GPL_ONLY_SYMBOLS | ||||||
| # define mutex_enter_nested(mp, sc)                                     \ | # define mutex_enter_nested(mp, sc)                                     \ | ||||||
| ({                                                                      \ | ({                                                                      \ | ||||||
|         mutex_lock_nested(MUTEX(mp, sc));                               \ |         mutex_lock_nested(MUTEX(mp), sc);                               \ | ||||||
|         spl_mutex_set_owner(mp);                                        \ |         spl_mutex_set_owner(mp);                                        \ | ||||||
| }) | }) | ||||||
| #else | #else | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Prakash Surya
						Prakash Surya