]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
[PATCH] VFS: local denial-of-service with file leases
authorChris Wright <chrisw@osdl.org>
Sat, 12 Nov 2005 01:20:14 +0000 (17:20 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 13 Nov 2005 17:29:58 +0000 (12:29 -0500)
 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>
fs/locks.c

index 600d1fbe35710e98fb6d9d2d95de816b59f029b8..250ef53d25ef8cfce06e333b83a746ef2577aa3d 100644 (file)
@@ -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;