Blame SOURCES/nfs-utils-2.3.3-nfsiostat-div-zero.patch
|
|
732391 |
diff -up nfs-utils-2.3.3/tools/nfs-iostat/nfs-iostat.py.orig nfs-utils-2.3.3/tools/nfs-iostat/nfs-iostat.py
|
|
|
732391 |
--- nfs-utils-2.3.3/tools/nfs-iostat/nfs-iostat.py.orig 2020-12-10 10:38:26.462195326 -0500
|
|
|
732391 |
+++ nfs-utils-2.3.3/tools/nfs-iostat/nfs-iostat.py 2020-12-10 10:45:47.210671473 -0500
|
|
|
732391 |
@@ -380,6 +380,8 @@ class DeviceData:
|
|
|
732391 |
sends = float(self.__rpc_data['rpcsends'])
|
|
|
732391 |
if sample_time == 0:
|
|
|
732391 |
sample_time = float(self.__nfs_data['age'])
|
|
|
732391 |
+ if sample_time == 0:
|
|
|
732391 |
+ sample_time = 1;
|
|
|
732391 |
return (sends / sample_time)
|
|
|
732391 |
|
|
|
732391 |
def display_iostats(self, sample_time, which):
|
|
|
732391 |
diff -up nfs-utils-2.3.3/utils/gssd/gssd_proc.c.orig nfs-utils-2.3.3/utils/gssd/gssd_proc.c
|
|
|
732391 |
--- nfs-utils-2.3.3/utils/gssd/gssd_proc.c.orig 2018-09-06 14:09:08.000000000 -0400
|
|
|
732391 |
+++ nfs-utils-2.3.3/utils/gssd/gssd_proc.c 2020-12-10 10:45:47.211671499 -0500
|
|
|
732391 |
@@ -682,6 +682,7 @@ process_krb5_upcall(struct clnt_info *cl
|
|
|
732391 |
} else {
|
|
|
732391 |
get_hostbased_client_buffer(gacceptor, mech, &acceptor);
|
|
|
732391 |
gss_release_name(&min_stat, &gacceptor);
|
|
|
732391 |
+ gss_release_oid(&min_stat, &mech);
|
|
|
732391 |
}
|
|
|
732391 |
|
|
|
732391 |
/*
|