Skip to content

Commit

Permalink
[PATCH] VFS: local denial-of-service with file leases
Browse files Browse the repository at this point in the history
 Remove time_out_leases() printk that's easily triggered by users.

 Signed-off-by: Chris Wright <[email protected]>
 Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
Chris Wright authored and Trond Myklebust committed Nov 13, 2005
1 parent dc15ae1 commit f3a9388
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f3a9388

Please sign in to comment.