NeilBrown
52d304eb4e
locks: fix NULL-deref in generic_delete_lease
...
commit 0efaa7e82f02fe69c05ad28e905f31fc86e6f08e
locks: generic_delete_lease doesn't need a file_lock at all
moves the call to fl->fl_lmops->lm_change() to a place in the
code where fl might be a non-lease lock.
When that happens, fl_lmops is NULL and an Oops ensures.
So add an extra test to restore correct functioning.
Reported-by: Linda Walsh <suse@tlinx.org>
Link: https://bugzilla.suse.com/show_bug.cgi?id=912569
Cc: stable@vger.kernel.org (v3.18)
Fixes: 0efaa7e82f02fe69c05ad28e905f31fc86e6f08e
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
2015-01-13 07:00:55 -05:00
..
2014-11-19 13:01:20 -05:00
2014-08-08 15:57:24 -07:00
2014-12-13 12:42:52 -08:00
2014-12-11 14:27:06 -08:00
2014-11-19 13:01:20 -05:00
2014-12-13 12:42:51 -08:00
2014-08-08 15:57:24 -07:00
2015-01-09 17:46:07 -08:00
2014-11-19 13:01:20 -05:00
2015-01-08 20:36:56 +03:00
2014-12-22 14:16:21 -06:00
2014-12-11 16:28:12 -05:00
2014-11-19 13:01:20 -05:00
2014-08-08 15:57:25 -07:00
2014-12-14 16:10:09 -08:00
2014-12-10 16:10:49 -08:00
2014-12-19 18:15:12 -08:00
2014-12-10 16:10:49 -08:00
2014-08-08 15:57:18 -07:00
2014-10-19 20:22:32 +03:00
2014-11-03 15:20:29 -05:00
2014-11-10 10:06:10 +01:00
2014-11-10 10:06:10 +01:00
2015-01-06 14:05:40 -08:00
2014-12-08 14:19:09 -08:00
2014-12-13 12:42:51 -08:00
2014-10-13 17:52:21 +01:00
2014-12-17 09:41:32 -08:00
2014-12-10 16:10:49 -08:00
2014-12-10 17:41:16 -08:00
2014-12-18 19:08:10 -08:00
2014-08-07 14:40:09 -04:00
2014-08-08 15:57:22 -07:00
2014-10-31 17:48:54 -04:00
2014-12-13 12:42:45 -08:00
2014-12-19 11:29:24 +01:00
2014-11-18 10:15:29 +01:00
2014-12-12 09:28:03 -08:00
2014-11-28 18:23:44 -08:00
2014-12-10 16:10:49 -08:00
2014-12-17 08:26:51 -05:00
2014-12-16 15:25:31 -08:00
2014-08-06 18:01:12 -07:00
2014-08-08 15:57:20 -07:00
2014-12-10 18:34:42 -08:00
2014-12-10 16:10:49 -08:00
2014-09-17 16:33:11 -04:00
2015-01-07 13:38:21 -05:00
2014-12-10 17:41:16 -08:00
2015-01-09 11:18:12 +01:00
2014-11-19 13:01:20 -05:00
2015-01-08 15:10:51 -08:00
2014-10-14 02:18:22 +02:00
2014-12-08 20:39:29 -05:00
2014-12-19 13:26:08 -08:00
2014-12-14 16:10:09 -08:00
2014-08-08 15:57:26 -07:00
2014-11-10 10:06:18 +01:00
2014-08-08 15:57:18 -07:00
2014-12-16 15:46:01 -08:00
2014-08-08 15:57:25 -07:00
2014-11-27 18:48:44 +00:00
2014-11-07 10:54:38 -08:00
2014-11-07 12:32:22 +02:00
2014-12-21 22:42:37 +01:00
2014-10-14 02:18:20 +02:00
2014-12-12 09:48:17 -08:00
2014-12-13 17:50:20 -05:00
2014-08-07 14:40:09 -04:00
2014-11-19 13:01:20 -05:00
2014-10-09 02:39:00 -04:00
2014-12-11 17:56:37 -08:00
2014-12-13 12:42:51 -08:00
2014-12-17 08:27:14 -05:00
2014-12-13 12:42:51 -08:00
2014-11-17 10:35:17 +00:00
2014-10-21 13:55:11 -06:00
2014-12-10 17:41:04 -08:00
2014-10-31 17:48:54 -04:00
2014-10-14 02:18:21 +02:00
2014-12-08 20:39:29 -05:00
2014-09-26 21:16:51 -04:00
2014-12-13 12:42:48 -08:00
2014-11-05 14:13:23 -05:00
2014-11-05 14:13:23 -05:00
2014-12-13 12:42:51 -08:00
2015-01-08 15:10:52 -08:00
2014-10-13 11:28:42 +02:00
2014-12-10 17:41:10 -08:00
2014-08-07 14:40:09 -04:00
2014-11-04 10:42:23 -07:00
2014-12-16 15:53:03 -08:00
2014-12-10 21:30:20 -05:00
2014-12-16 15:25:31 -08:00
2014-10-24 00:14:38 +02:00
2014-11-24 07:45:02 +01:00
2014-11-03 15:20:29 -05:00
2015-01-13 07:00:55 -05:00
2014-12-10 21:31:59 -05:00
2014-12-04 14:31:00 -05:00
2014-10-09 22:25:53 -04:00
2014-12-16 15:53:03 -08:00
2014-12-18 11:22:02 -08:00
2014-12-10 21:30:20 -05:00
2014-12-16 15:25:31 -08:00
2014-12-02 10:46:50 -06:00
2014-12-17 08:27:15 -05:00
2014-12-14 20:36:37 -08:00
2014-10-31 17:48:54 -04:00
2014-12-13 12:42:49 -08:00
2014-11-05 14:13:23 -05:00
2014-10-24 00:14:35 +02:00
2014-08-26 09:35:56 +02:00
2014-11-10 10:06:18 +01:00
2014-11-19 13:01:25 -05:00
2014-11-05 14:13:23 -05:00
2014-11-19 13:01:26 -05:00