summaryrefslogtreecommitdiff
path: root/fs/locks.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-11-12 04:20:14 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-11-13 20:29:58 +0300
commitf3a9388e4ebea57583272007311fffa26ebbb305 (patch)
treec37a25e923505c9a62855b1e0ef822f7231e1a5a /fs/locks.c
parentdc15ae14e97ee9d5ed740cbb0b94996076d8b37e (diff)
downloadlinux-f3a9388e4ebea57583272007311fffa26ebbb305.tar.xz
[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>
Diffstat (limited to 'fs/locks.c')
-rw-r--r--fs/locks.c1
1 files changed, 0 insertions, 1 deletions
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;