]> err.no Git - linux-2.6/blobdiff - include/linux/nfs_xdr.h
[PATCH] RPC: fix accounting bug in the case of a truncated RPC message
[linux-2.6] / include / linux / nfs_xdr.h
index 5b45bafd9db5b98a7824e3e817a04e28c98c0ea0..46b206b460c02dc1b1756210ef1c268a5ca6865a 100644 (file)
@@ -326,6 +326,20 @@ struct nfs_setattrargs {
        const u32 *                     bitmask;
 };
 
+struct nfs_setaclargs {
+       struct nfs_fh *                 fh;
+       size_t                          acl_len;
+       unsigned int                    acl_pgbase;
+       struct page **                  acl_pages;
+};
+
+struct nfs_getaclargs {
+       struct nfs_fh *                 fh;
+       size_t                          acl_len;
+       unsigned int                    acl_pgbase;
+       struct page **                  acl_pages;
+};
+
 struct nfs_setattrres {
        struct nfs_fattr *              fattr;
        const struct nfs_server *       server;
@@ -714,6 +728,7 @@ struct nfs_rpc_ops {
        int     (*file_open)   (struct inode *, struct file *);
        int     (*file_release) (struct inode *, struct file *);
        int     (*lock)(struct file *, int, struct file_lock *);
+       void    (*clear_acl_cache)(struct inode *);
 };
 
 /*