diff options
author | Chris Wright <chrisw@osdl.org> | 2005-11-12 02:20:14 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-11-13 18:29:58 +0100 |
commit | f3a9388e4ebea57583272007311fffa26ebbb305 (patch) | |
tree | c37a25e923505c9a62855b1e0ef822f7231e1a5a /fs/locks.c | |
parent | [PATCH] VFS: Fix memory leak with file leases (diff) | |
download | linux-f3a9388e4ebea57583272007311fffa26ebbb305.tar.xz linux-f3a9388e4ebea57583272007311fffa26ebbb305.zip |
[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.c | 1 |
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; |