diff options
author | David Quigley <dpquigl@davequigley.com> | 2013-05-22 12:50:42 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-08 16:20:15 -0400 |
commit | 1775fd3e805b6a852ef376256967de69284d7962 (patch) | |
tree | fdb649dd62e526e65b8ac1868a2a4456b81fc150 /include/linux | |
parent | a09df2ca2313fd49f0f3e1f2caa546bcacf7b6df (diff) |
NFS:Add labels to client function prototypes
After looking at all of the nfsv4 operations the label structure has been added
to the prototypes of the functions which can transmit label data.
Signed-off-by: Matthew N. Dodd <Matthew.Dodd@sparta.com>
Signed-off-by: Miguel Rodel Felipe <Rodel_FM@dsi.a-star.edu.sg>
Signed-off-by: Phua Eu Gene <PHUA_Eu_Gene@dsi.a-star.edu.sg>
Signed-off-by: Khin Mi Mi Aung <Mi_Mi_AUNG@dsi.a-star.edu.sg>
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_fs.h | 5 | ||||
-rw-r--r-- | include/linux/nfs_xdr.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 39b24041a4c7..3489015950b4 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -336,7 +336,7 @@ extern void nfs_zap_mapping(struct inode *inode, struct address_space *mapping); | |||
336 | extern void nfs_zap_caches(struct inode *); | 336 | extern void nfs_zap_caches(struct inode *); |
337 | extern void nfs_invalidate_atime(struct inode *); | 337 | extern void nfs_invalidate_atime(struct inode *); |
338 | extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *, | 338 | extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *, |
339 | struct nfs_fattr *); | 339 | struct nfs_fattr *, struct nfs4_label *); |
340 | extern int nfs_refresh_inode(struct inode *, struct nfs_fattr *); | 340 | extern int nfs_refresh_inode(struct inode *, struct nfs_fattr *); |
341 | extern int nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr); | 341 | extern int nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr); |
342 | extern int nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fattr *fattr); | 342 | extern int nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fattr *fattr); |
@@ -468,7 +468,8 @@ extern const struct file_operations nfs_dir_operations; | |||
468 | extern const struct dentry_operations nfs_dentry_operations; | 468 | extern const struct dentry_operations nfs_dentry_operations; |
469 | 469 | ||
470 | extern void nfs_force_lookup_revalidate(struct inode *dir); | 470 | extern void nfs_force_lookup_revalidate(struct inode *dir); |
471 | extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh, struct nfs_fattr *fattr); | 471 | extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh, |
472 | struct nfs_fattr *fattr, struct nfs4_label *label); | ||
472 | extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags); | 473 | extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags); |
473 | extern void nfs_access_zap_cache(struct inode *inode); | 474 | extern void nfs_access_zap_cache(struct inode *inode); |
474 | 475 | ||
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index d799b9f86820..ed31ba7a6f9e 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1378,11 +1378,12 @@ struct nfs_rpc_ops { | |||
1378 | struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *, | 1378 | struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *, |
1379 | struct nfs_subversion *); | 1379 | struct nfs_subversion *); |
1380 | int (*getattr) (struct nfs_server *, struct nfs_fh *, | 1380 | int (*getattr) (struct nfs_server *, struct nfs_fh *, |
1381 | struct nfs_fattr *); | 1381 | struct nfs_fattr *, struct nfs4_label *); |
1382 | int (*setattr) (struct dentry *, struct nfs_fattr *, | 1382 | int (*setattr) (struct dentry *, struct nfs_fattr *, |
1383 | struct iattr *); | 1383 | struct iattr *); |
1384 | int (*lookup) (struct inode *, struct qstr *, | 1384 | int (*lookup) (struct inode *, struct qstr *, |
1385 | struct nfs_fh *, struct nfs_fattr *); | 1385 | struct nfs_fh *, struct nfs_fattr *, |
1386 | struct nfs4_label *); | ||
1386 | int (*access) (struct inode *, struct nfs_access_entry *); | 1387 | int (*access) (struct inode *, struct nfs_access_entry *); |
1387 | int (*readlink)(struct inode *, struct page *, unsigned int, | 1388 | int (*readlink)(struct inode *, struct page *, unsigned int, |
1388 | unsigned int); | 1389 | unsigned int); |