summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-11-11 17:20:14 -0800
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-11-13 12:29:58 -0500
commitf3a9388e4ebea57583272007311fffa26ebbb305 (patch)
treec37a25e923505c9a62855b1e0ef822f7231e1a5a /fs/locks.c
parentdc15ae14e97ee9d5ed740cbb0b94996076d8b37e (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/locks.c')
-rw-r--r--fs/locks.c1
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)
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;
postgres/ItemMapperTest.php?h=5.3.9'>stats
path: root/tests/unit/db/postgres/ItemMapperTest.php
blob: 1bc298566729dac9fcf2c8f99dfa22dfd8626c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131