mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	mutex_unlock() later in seq_lseek()
All manipulations with struct seq_file::version are done under struct seq_file::lock except one introduced in commit d6b7a781c51c91dd054e5c437885205592faac21 aka "[PATCH] Speed up /proc/pid/maps" Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									a6739af8b9
								
							
						
					
					
						commit
						00c5746da9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -260,8 +260,8 @@ loff_t seq_lseek(struct file *file, loff_t offset, int origin) | |||
| 				} | ||||
| 			} | ||||
| 	} | ||||
| 	mutex_unlock(&m->lock); | ||||
| 	file->f_version = m->version; | ||||
| 	mutex_unlock(&m->lock); | ||||
| 	return retval; | ||||
| } | ||||
| EXPORT_SYMBOL(seq_lseek); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Alexey Dobriyan
						Alexey Dobriyan