diff options
author | Chris Wright <chrisw@osdl.org> | 2005-11-11 20:20:14 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-11-13 12:29:58 -0500 |
commit | f3a9388e4ebea57583272007311fffa26ebbb305 (patch) | |
tree | c37a25e923505c9a62855b1e0ef822f7231e1a5a /fs | |
parent | dc15ae14e97ee9d5ed740cbb0b94996076d8b37e (diff) |
[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')
-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) | |||
1105 | before = &fl->fl_next; | 1105 | before = &fl->fl_next; |
1106 | continue; | 1106 | continue; |
1107 | } | 1107 | } |
1108 | printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid); | ||
1109 | lease_modify(before, fl->fl_type & ~F_INPROGRESS); | 1108 | lease_modify(before, fl->fl_type & ~F_INPROGRESS); |
1110 | if (fl == *before) /* lease_modify may have freed fl */ | 1109 | if (fl == *before) /* lease_modify may have freed fl */ |
1111 | before = &fl->fl_next; | 1110 | before = &fl->fl_next; |