Commit f3a9388e authored by Chris Wright's avatar Chris Wright Committed by Trond Myklebust

[PATCH] VFS: local denial-of-service with file leases

 Remove time_out_leases() printk that's easily triggered by users.
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent dc15ae14
...@@ -1105,7 +1105,6 @@ static void time_out_leases(struct inode *inode) ...@@ -1105,7 +1105,6 @@ static void time_out_leases(struct inode *inode)
before = &fl->fl_next; before = &fl->fl_next;
continue; continue;
} }
printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid);
lease_modify(before, fl->fl_type & ~F_INPROGRESS); lease_modify(before, fl->fl_type & ~F_INPROGRESS);
if (fl == *before) /* lease_modify may have freed fl */ if (fl == *before) /* lease_modify may have freed fl */
before = &fl->fl_next; before = &fl->fl_next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment