mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +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
@ -1105,7 +1105,6 @@ static void time_out_leases(struct inode *inode)
|
||||
before = &fl->fl_next;
|
||||
continue;
|
||||
}
|
||||
printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid);
|
||||
lease_modify(before, fl->fl_type & ~F_INPROGRESS);
|
||||
if (fl == *before) /* lease_modify may have freed fl */
|
||||
before = &fl->fl_next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user