From: Chris Wright Date: Sat, 12 Nov 2005 01:20:14 +0000 (-0800) Subject: [PATCH] VFS: local denial-of-service with file leases X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3a9388e4ebea57583272007311fffa26ebbb305;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Trond Myklebust --- diff --git a/fs/locks.c b/fs/locks.c index 600d1fbe3571..250ef53d25ef 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -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;