OSDN Git Service

nfsv4: Move NFSPROC4_CLNT_COPY_NOTIFY to end of list
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Nov 2019 19:59:02 +0000 (14:59 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 6 Nov 2019 13:55:24 +0000 (08:55 -0500)
We shouldn't insert things into the NFSPROC4_CLNT enums, since that
causes the nfsstat array to be reordered.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/nfs4.h

index 5e7a526..82d8fb4 100644 (file)
@@ -537,10 +537,11 @@ enum {
        NFSPROC4_CLNT_CLONE,
        NFSPROC4_CLNT_COPY,
        NFSPROC4_CLNT_OFFLOAD_CANCEL,
-       NFSPROC4_CLNT_COPY_NOTIFY,
 
        NFSPROC4_CLNT_LOOKUPP,
        NFSPROC4_CLNT_LAYOUTERROR,
+
+       NFSPROC4_CLNT_COPY_NOTIFY,
 };
 
 /* nfs41 types */