X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fnfs4.h;h=1be5be88debe77c5e51aed74ef77fb8697974b5f;hb=39403865d2e4590802553370a56c9ab93131e4ee;hp=5f681d534295ddae8e5a9c726fbdd8e1f3a56f36;hpb=76a9f26c9e40e9c0ed5dc8f0cedd74e733f0088d;p=powerpc.git diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 5f681d5342..1be5be88de 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h @@ -105,12 +105,11 @@ struct nfs4_ace { uint32_t access_mask; int whotype; uid_t who; - struct list_head l_ace; }; struct nfs4_acl { uint32_t naces; - struct list_head ace_head; + struct nfs4_ace aces[0]; }; typedef struct { char data[NFS4_VERIFIER_SIZE]; } nfs4_verifier; @@ -157,6 +156,12 @@ enum nfs_opnum4 { OP_ILLEGAL = 10044, }; +/*Defining first and last NFS4 operations implemented. +Needs to be updated if more operations are defined in future.*/ + +#define FIRST_NFS4_OP OP_ACCESS +#define LAST_NFS4_OP OP_RELEASE_LOCKOWNER + enum nfsstat4 { NFS4_OK = 0, NFS4ERR_PERM = 1,