diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2005-06-22 19:16:22 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 22:07:10 +0200 |
commit | 6b3b5496d7b261d6c9202008dc528e52dbd11e57 (patch) | |
tree | bcd625880fc7799ddd85b132e3cdfd501f5a82b9 /fs/nfs/nfs4_fs.h | |
parent | [PATCH] NFS: Add hooks to allow common NFS attribute code to clear cached acls (diff) | |
download | linux-6b3b5496d7b261d6c9202008dc528e52dbd11e57.tar.xz linux-6b3b5496d7b261d6c9202008dc528e52dbd11e57.zip |
[PATCH] NFSv4: Add {get,set,list}xattr methods for nfs4
Add {get,set,list}xattr methods for nfs4. The new methods are no-ops, to be
used by subsequent ACL patch.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 85cf3bd36921..d71f416bd9e5 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -176,6 +176,13 @@ struct nfs4_state_recovery_ops { extern struct dentry_operations nfs4_dentry_operations; extern struct inode_operations nfs4_dir_inode_operations; +extern struct inode_operations nfs4_file_inode_operations; + +/* inode.c */ +extern ssize_t nfs4_getxattr(struct dentry *, const char *, void *, size_t); +extern int nfs4_setxattr(struct dentry *, const char *, const void *, size_t, int); +extern ssize_t nfs4_listxattr(struct dentry *, char *, size_t); + /* nfs4proc.c */ extern int nfs4_map_errors(int err); |