Fedor Pchelkin
6cc6f79b93
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
...
commit 96562c45af5c31b89a197af28f79bfa838fb8391 upstream.
It is an almost improbable error case but when page allocating loop in
nfs4_get_device_info() fails then we should only free the already
allocated pages, as __free_page() can't deal with NULL arguments.
Found by Linux Verification Center (linuxtesting.org).
Cc: stable@vger.kernel.org
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:20:25 +02:00
..
2023-09-19 12:20:15 +02:00
2023-01-24 07:19:55 +01:00
2021-11-18 14:04:22 +01:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2022-06-22 14:13:16 +02:00
2022-04-08 14:40:27 +02:00
2019-04-24 09:46:35 -04:00
2022-02-16 12:54:18 +01:00
2022-02-16 12:54:17 +01:00
2022-11-10 18:14:16 +01:00
2021-07-20 16:05:47 +02:00
2022-04-13 21:01:04 +02:00
2023-09-19 12:20:25 +02:00
2020-05-27 10:10:12 -04:00
2017-11-02 11:10:55 +01:00
2019-11-03 21:28:46 -05:00
2023-03-11 16:39:38 +01:00
2022-05-18 10:23:43 +02:00
2020-01-15 10:54:30 -05:00
2020-05-08 22:20:24 +01:00
2020-01-15 10:54:30 -05:00
2020-03-30 19:56:50 -04:00
2023-03-11 16:39:38 +01:00
2022-06-06 08:42:44 +02:00
2019-02-20 15:14:21 -05:00
2017-11-02 11:10:55 +01:00
2021-03-30 14:31:49 +02:00
2020-07-13 17:52:46 -04:00
2020-05-14 18:42:44 -04:00
2023-01-14 10:15:34 +01:00
2019-07-06 14:54:49 -04:00
2019-05-21 10:50:45 +02:00
2023-09-19 12:20:15 +02:00
2020-01-15 10:15:17 -05:00
2020-08-23 17:36:59 -05:00
2022-08-21 15:15:18 +02:00
2021-07-20 16:05:51 +02:00
2019-05-21 10:50:45 +02:00
2023-09-19 12:20:15 +02:00
2023-03-11 16:39:38 +01:00
2022-11-10 18:14:16 +01:00
2022-08-31 17:15:15 +02:00
2017-11-02 11:10:55 +01:00
2022-08-25 11:37:54 +02:00
2022-02-16 12:54:18 +01:00
2023-08-30 16:23:14 +02:00
2020-02-04 12:27:55 -05:00
2019-05-21 10:50:45 +02:00
2019-03-02 16:25:26 -05:00
2023-05-17 11:48:02 +02:00
2021-01-19 18:27:30 +01:00
2018-01-18 15:10:47 -05:00
2020-01-15 10:54:33 -05:00
2023-03-11 16:39:38 +01:00
2023-01-14 10:15:33 +01:00
2020-07-13 17:52:45 -04:00
2023-09-19 12:20:16 +02:00
2020-11-12 10:40:02 -05:00
2021-12-01 09:19:03 +01:00
2017-11-02 11:10:55 +01:00
2020-11-02 10:29:03 -05:00
2019-02-13 12:03:21 -05:00
2020-07-13 17:52:45 -04:00
2022-04-13 21:01:03 +02:00
2023-09-19 12:20:25 +02:00
2022-04-13 21:01:03 +02:00
2022-06-22 14:13:16 +02:00
2022-06-22 14:13:16 +02:00
2020-01-24 16:51:13 -05:00
2020-06-11 13:33:48 -04:00
2022-09-23 14:16:57 +02:00
2019-05-09 16:26:57 -04:00
2017-11-02 11:10:55 +01:00
2020-10-15 13:31:08 -04:00
2020-10-15 13:31:08 -04:00
2020-03-16 08:34:29 -04:00
2022-06-09 10:21:19 +02:00