1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 /* 1 /* 3 * Copyright (C) 2014 Anna Schumaker. 2 * Copyright (C) 2014 Anna Schumaker. 4 * 3 * 5 * NFSv3-specific filesystem definitions and d 4 * NFSv3-specific filesystem definitions and declarations 6 */ 5 */ 7 #ifndef __LINUX_FS_NFS_NFS3_FS_H 6 #ifndef __LINUX_FS_NFS_NFS3_FS_H 8 #define __LINUX_FS_NFS_NFS3_FS_H 7 #define __LINUX_FS_NFS_NFS3_FS_H 9 8 10 /* 9 /* 11 * nfs3acl.c 10 * nfs3acl.c 12 */ 11 */ 13 #ifdef CONFIG_NFS_V3_ACL 12 #ifdef CONFIG_NFS_V3_ACL 14 extern struct posix_acl *nfs3_get_acl(struct i !! 13 extern struct posix_acl *nfs3_get_acl(struct inode *inode, int type); 15 extern int nfs3_set_acl(struct mnt_idmap *idma !! 14 extern int nfs3_set_acl(struct inode *inode, struct posix_acl *acl, int type); 16 struct posix_acl *acl, << 17 extern int nfs3_proc_setacls(struct inode *ino 15 extern int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, 18 struct posix_acl *dfacl); 16 struct posix_acl *dfacl); 19 extern ssize_t nfs3_listxattr(struct dentry *, 17 extern ssize_t nfs3_listxattr(struct dentry *, char *, size_t); >> 18 extern const struct xattr_handler *nfs3_xattr_handlers[]; 20 #else 19 #else 21 static inline int nfs3_proc_setacls(struct ino 20 static inline int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, 22 struct posix_acl *dfacl) 21 struct posix_acl *dfacl) 23 { 22 { 24 return 0; 23 return 0; 25 } 24 } 26 #define nfs3_listxattr NULL 25 #define nfs3_listxattr NULL 27 #endif /* CONFIG_NFS_V3_ACL */ 26 #endif /* CONFIG_NFS_V3_ACL */ 28 27 29 /* nfs3client.c */ 28 /* nfs3client.c */ 30 struct nfs_server *nfs3_create_server(struct f !! 29 struct nfs_server *nfs3_create_server(struct nfs_mount_info *, struct nfs_subversion *); 31 struct nfs_server *nfs3_clone_server(struct nf 30 struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *, 32 struct nf 31 struct nfs_fattr *, rpc_authflavor_t); 33 32 34 /* nfs3super.c */ 33 /* nfs3super.c */ 35 extern struct nfs_subversion nfs_v3; 34 extern struct nfs_subversion nfs_v3; 36 35 37 #endif /* __LINUX_FS_NFS_NFS3_FS_H */ 36 #endif /* __LINUX_FS_NFS_NFS3_FS_H */ 38 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.