projects/linux·commit f3a9388e

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

f3a9388e · Chris Wright <[email protected]> · 2005-11-11 17:20:14 -08:00

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]>
Commit
f3a9388e4ebea57583272007311fffa26ebbb305
Parents
dc15ae14

Changes

1 files changed · +0 −1

FileStatusAddDelContent
fs/locks.cmodified+0−1View file

fs/locks.c

View file
diff --git a/fs/locks.c b/fs/locks.c
index 600d1fb..250ef53 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;