Benjamin Coddington
3953704fde
locks: restore a warn for leaked locks on close
...
When locks.c moved to using file_lock_context, the check for any locks that
were not released was moved from the __fput() to destroy_inode() path in
commit 8634b51f6c ("locks: convert lease handling to file_lock_context").
This warning has been quite useful for catching bugs, particularly in NFS
where lock handling still sees some churn.
Let's bring back the warning for leaked locks on __fput, as this warning is
much more likely to be seen and reported by users.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com >
Signed-off-by: Jeff Layton <jlayton@redhat.com >
2017-07-21 13:57:31 -04:00
..
2017-07-16 10:28:22 -04:00
2017-07-11 06:06:17 -04:00
2017-07-15 12:00:42 -07:00
2017-07-10 11:40:19 -07:00
2017-07-15 12:00:42 -07:00
2017-07-12 16:26:00 -07:00
2017-07-15 12:00:42 -07:00
2017-06-20 12:19:14 +02:00
2017-07-16 10:28:22 -04:00
2017-07-16 10:28:22 -04:00
2017-06-29 17:49:23 -04:00
2017-06-12 13:20:20 +02:00
2017-07-09 09:31:22 -07:00
2017-07-15 12:00:42 -07:00
2017-07-16 10:28:22 -04:00
2017-04-20 12:09:55 -06:00
2017-07-11 06:09:21 -04:00
2017-07-05 18:44:22 -04:00
2017-07-13 13:53:54 -07:00
2017-07-09 09:31:22 -07:00
2017-07-10 14:29:45 -07:00
2017-03-09 17:01:10 -08:00
2017-07-16 10:28:22 -04:00
2017-07-15 12:00:42 -07:00
2017-05-08 17:15:14 -07:00
2017-05-08 17:15:14 -07:00
2017-07-15 12:00:42 -07:00
2017-07-13 12:30:43 -04:00
2017-07-07 19:38:17 -07:00
2017-04-19 11:35:55 -07:00
2017-07-07 18:39:15 -07:00
2017-03-17 10:25:59 +09:00
2017-07-13 15:58:03 -04:00
2017-07-08 10:50:54 -07:00
2017-07-06 16:24:35 -07:00
2017-07-13 14:35:37 -07:00
2017-07-13 13:56:24 -07:00
2017-07-03 13:08:04 -07:00
2017-07-07 20:09:10 -04:00
2017-05-28 10:11:48 -07:00
2017-07-06 16:24:30 -07:00
2017-07-06 03:31:46 -04:00
2017-07-15 12:00:42 -07:00
2017-07-04 22:08:15 +02:00
2017-07-14 15:05:13 -07:00
2017-07-15 12:00:42 -07:00
2017-06-22 11:46:48 -04:00
2017-07-06 03:31:46 -04:00
2017-07-15 12:00:42 -07:00
2017-04-08 17:33:32 +02:00
2017-07-05 18:44:22 -04:00
2017-07-06 03:31:46 -04:00
2017-07-14 22:50:57 +02:00
2017-06-14 11:21:02 +02:00
2017-07-07 18:39:15 -07:00
2017-07-14 22:57:32 -07:00
2017-06-27 12:05:36 -06:00
2017-07-10 16:32:36 -07:00
2017-07-03 18:44:02 -04:00
2017-04-26 23:54:06 -04:00
2017-07-07 19:38:17 -07:00
2017-07-10 16:32:30 -07:00
2017-03-21 06:44:32 +01:00
2017-07-08 10:15:02 -07:00
2017-04-17 12:52:27 -04:00
2017-07-07 19:38:17 -07:00
2017-07-15 12:00:42 -07:00
2017-06-27 12:05:36 -06:00
2017-07-03 21:13:25 -07:00
2017-07-12 16:26:01 -07:00
2017-07-07 20:05:08 -07:00
2017-07-07 13:48:18 -07:00
2017-04-17 12:52:26 -04:00
2017-07-06 07:02:25 -04:00
2017-07-06 16:24:30 -07:00
2017-07-15 12:00:42 -07:00
2017-06-20 12:19:14 +02:00
2017-07-12 16:26:05 -07:00
2017-07-08 10:50:54 -07:00
2017-05-09 09:12:53 -07:00
2017-07-14 22:57:32 -07:00
2017-07-12 16:26:00 -07:00
2017-07-06 07:02:29 -04:00
2017-07-21 13:57:31 -04:00
2017-06-22 11:44:55 -04:00
2017-05-23 08:41:16 -05:00
2017-07-03 21:13:25 -07:00
2017-07-15 12:00:42 -07:00
2017-07-15 12:00:42 -07:00
2017-07-06 03:27:09 -04:00
2017-07-07 19:38:17 -07:00
2017-07-06 03:27:09 -04:00
2017-05-23 08:41:17 -05:00
2017-07-07 21:48:15 -07:00
2017-04-17 12:52:24 -04:00
2017-07-06 20:57:13 -07:00
2017-05-08 17:15:12 -07:00
2017-06-20 12:18:27 +02:00
2017-06-29 17:49:23 -04:00
2017-06-09 16:28:01 -04:00
2017-07-08 10:50:54 -07:00
2017-07-11 06:09:21 -04:00
2017-07-05 18:44:23 -04:00
2017-06-30 04:14:38 -04:00
2017-07-06 16:24:34 -07:00
2017-04-17 12:52:23 -04:00
2017-05-08 17:15:13 -07:00