include/linux/nfs_xdr.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
   118  */
   118  */
   119 struct nfs_openargs {
   119 struct nfs_openargs {
   120 	const struct nfs_fh *	fh;
   120 	const struct nfs_fh *	fh;
   121 	struct nfs_seqid *	seqid;
   121 	struct nfs_seqid *	seqid;
   122 	int			open_flags;
   122 	int			open_flags;
       
   123 	fmode_t			fmode;
   123 	__u64                   clientid;
   124 	__u64                   clientid;
   124 	__u64                   id;
   125 	__u64                   id;
   125 	union {
   126 	union {
   126 		struct iattr *  attrs;    /* UNCHECKED, GUARDED */
   127 		struct iattr *  attrs;    /* UNCHECKED, GUARDED */
   127 		nfs4_verifier   verifier; /* EXCLUSIVE */
   128 		nfs4_verifier   verifier; /* EXCLUSIVE */
   128 		nfs4_stateid	delegation;		/* CLAIM_DELEGATE_CUR */
   129 		nfs4_stateid	delegation;		/* CLAIM_DELEGATE_CUR */
   129 		int		delegation_type;	/* CLAIM_PREVIOUS */
   130 		fmode_t		delegation_type;	/* CLAIM_PREVIOUS */
   130 	} u;
   131 	} u;
   131 	const struct qstr *	name;
   132 	const struct qstr *	name;
   132 	const struct nfs_server *server;	 /* Needed for ID mapping */
   133 	const struct nfs_server *server;	 /* Needed for ID mapping */
   133 	const u32 *		bitmask;
   134 	const u32 *		bitmask;
   134 	__u32			claim;
   135 	__u32			claim;
   141 	__u32                   rflags;
   142 	__u32                   rflags;
   142 	struct nfs_fattr *      f_attr;
   143 	struct nfs_fattr *      f_attr;
   143 	struct nfs_fattr *      dir_attr;
   144 	struct nfs_fattr *      dir_attr;
   144 	struct nfs_seqid *	seqid;
   145 	struct nfs_seqid *	seqid;
   145 	const struct nfs_server *server;
   146 	const struct nfs_server *server;
   146 	int			delegation_type;
   147 	fmode_t			delegation_type;
   147 	nfs4_stateid		delegation;
   148 	nfs4_stateid		delegation;
   148 	__u32			do_recall;
   149 	__u32			do_recall;
   149 	__u64			maxsize;
   150 	__u64			maxsize;
   150 	__u32			attrset[NFS4_BITMAP_SIZE];
   151 	__u32			attrset[NFS4_BITMAP_SIZE];
   151 };
   152 };
   169  */
   170  */
   170 struct nfs_closeargs {
   171 struct nfs_closeargs {
   171 	struct nfs_fh *         fh;
   172 	struct nfs_fh *         fh;
   172 	nfs4_stateid *		stateid;
   173 	nfs4_stateid *		stateid;
   173 	struct nfs_seqid *	seqid;
   174 	struct nfs_seqid *	seqid;
   174 	int			open_flags;
   175 	fmode_t			fmode;
   175 	const u32 *		bitmask;
   176 	const u32 *		bitmask;
   176 };
   177 };
   177 
   178 
   178 struct nfs_closeres {
   179 struct nfs_closeres {
   179 	nfs4_stateid            stateid;
   180 	nfs4_stateid            stateid;
   403 struct nfs3_setaclargs {
   404 struct nfs3_setaclargs {
   404 	struct inode *		inode;
   405 	struct inode *		inode;
   405 	int			mask;
   406 	int			mask;
   406 	struct posix_acl *	acl_access;
   407 	struct posix_acl *	acl_access;
   407 	struct posix_acl *	acl_default;
   408 	struct posix_acl *	acl_default;
       
   409 	size_t			len;
       
   410 	unsigned int		npages;
   408 	struct page **		pages;
   411 	struct page **		pages;
   409 };
   412 };
   410 
   413 
   411 struct nfs_diropok {
   414 struct nfs_diropok {
   412 	struct nfs_fh *		fh;
   415 	struct nfs_fh *		fh;