summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-11-11 17:20:14 -0800
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-11-13 12:29:58 -0500
commitf3a9388e4ebea57583272007311fffa26ebbb305 (patch)
treec37a25e923505c9a62855b1e0ef822f7231e1a5a /fs/locks.c
parentdc15ae14e97ee9d5ed740cbb0b94996076d8b37e (diff)
downloadop-kernel-dev-f3a9388e4ebea57583272007311fffa26ebbb305.zip
op-kernel-dev-f3a9388e4ebea57583272007311fffa26ebbb305.tar.gz
[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 600d1fb..250ef53 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;
OpenPOWER on IntegriCloud