提交 f3a9388e 编写于 作者: C Chris Wright 提交者: 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: NChris Wright <chrisw@osdl.org>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 dc15ae14
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册