]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nfs4.h
ARM: OMAP: Enable serial idling and wakeup features
[linux-2.6-omap-h63xx.git] / include / linux / nfs4.h
index db05182ca0e87f122adc3b4c1dbff6622c6c5fbb..8726491de15417d882d36e3184159f79c0bf525e 100644 (file)
@@ -15,7 +15,9 @@
 
 #include <linux/types.h>
 
+#define NFS4_BITMAP_SIZE       2
 #define NFS4_VERIFIER_SIZE     8
+#define NFS4_STATEID_SIZE      16
 #define NFS4_FHSIZE            128
 #define NFS4_MAXPATHLEN                PATH_MAX
 #define NFS4_MAXNAMLEN         NAME_MAX
@@ -105,16 +107,15 @@ 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;
-typedef struct { char data[16]; } nfs4_stateid;
+typedef struct { char data[NFS4_STATEID_SIZE]; } nfs4_stateid;
 
 enum nfs_opnum4 {
        OP_ACCESS = 3,