mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	[PATCH] VFS: local denial-of-service with file leases
Remove time_out_leases() printk that's easily triggered by users. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
		
							parent
							
								
									dc15ae14e9
								
							
						
					
					
						commit
						f3a9388e4e
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -1105,7 +1105,6 @@ static void time_out_leases(struct inode *inode)
 | 
				
			||||||
			before = &fl->fl_next;
 | 
								before = &fl->fl_next;
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid);
 | 
					 | 
				
			||||||
		lease_modify(before, fl->fl_type & ~F_INPROGRESS);
 | 
							lease_modify(before, fl->fl_type & ~F_INPROGRESS);
 | 
				
			||||||
		if (fl == *before)	/* lease_modify may have freed fl */
 | 
							if (fl == *before)	/* lease_modify may have freed fl */
 | 
				
			||||||
			before = &fl->fl_next;
 | 
								before = &fl->fl_next;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue