aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2005-06-22 13:16:22 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:09 -0400
commit92cfc62cb8412c9563860b1bf70cd4701f03092e (patch)
tree13b75734522c0cbf6d1ba0663d07ecc13a4f464c /include/linux/nfs_xdr.h
parent464a98bd70bae8c559cfc82af799faf44824ce64 (diff)
[PATCH] NFS: Allow NFS versions to support different sets of inode operations.
ACL support will require supporting additional inode operations in v4 (getxattr, setxattr, listxattr). This patch allows different protocol versions to support different inode operations by adding a file_inode_ops to the nfs_rpc_ops (to match the existing dir_inode_ops). Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 47037d9521cb..5b45bafd9db5 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -667,6 +667,7 @@ struct nfs_rpc_ops {
667 int version; /* Protocol version */ 667 int version; /* Protocol version */
668 struct dentry_operations *dentry_ops; 668 struct dentry_operations *dentry_ops;
669 struct inode_operations *dir_inode_ops; 669 struct inode_operations *dir_inode_ops;
670 struct inode_operations *file_inode_ops;
670 671
671 int (*getroot) (struct nfs_server *, struct nfs_fh *, 672 int (*getroot) (struct nfs_server *, struct nfs_fh *,
672 struct nfs_fsinfo *); 673 struct nfs_fsinfo *);