Code

Fix for number of nfs40 client fields on linux >=3.5
authorMarek Becka <marek.becka@superhosting.cz>
Mon, 16 Jun 2014 09:01:00 +0000 (11:01 +0200)
committerMarek Becka <marek.becka@superhosting.cz>
Mon, 16 Jun 2014 09:01:00 +0000 (11:01 +0200)
src/nfs.c

index 326fa708d3665b189aa8e25b0933f33bc1e2784b..4285d765e6ebfe9ddbb42854d8808328e08c6503 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
@@ -505,14 +505,15 @@ static int nfs_submit_nfs4_client (const char *instance, char **fields,
                        break;
                case 42:
                case 44:
+                       proc40_names_num = 36;
                case 46:
                case 47:
                case 51:
                case 53:
-                       proc40_names_num = 36;
+                       proc40_names_num = 37;
                        break;
                case 54:
-                       proc40_names_num = 37;
+                       proc40_names_num = 38;
                        break;
                default:
                        if (!suppress_warning)