diff options
author | 2023-07-20 18:37:51 +0300 | |
---|---|---|
committer | 2023-08-24 13:24:15 -0400 | |
commit | 96562c45af5c31b89a197af28f79bfa838fb8391 (patch) | |
tree | 3d2229c963e035a04a25005e3533e31265c10a0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFS: Move common includes outside ifdef (diff) | |
download | wireguard-linux-96562c45af5c31b89a197af28f79bfa838fb8391.tar.xz wireguard-linux-96562c45af5c31b89a197af28f79bfa838fb8391.zip |
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions