aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs_fs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 3a5e442ac776..7662c5131b47 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -478,6 +478,15 @@ extern void nfs_readdata_release(struct rpc_task *task);
478extern struct posix_acl *nfs3_proc_getacl(struct inode *inode, int type); 478extern struct posix_acl *nfs3_proc_getacl(struct inode *inode, int type);
479extern int nfs3_proc_setacl(struct inode *inode, int type, 479extern int nfs3_proc_setacl(struct inode *inode, int type,
480 struct posix_acl *acl); 480 struct posix_acl *acl);
481extern int nfs3_proc_set_default_acl(struct inode *dir, struct inode *inode,
482 mode_t mode);
483#else
484static inline int nfs3_proc_set_default_acl(struct inode *dir,
485 struct inode *inode,
486 mode_t mode)
487{
488 return 0;
489}
481#endif /* CONFIG_NFS_V3_ACL */ 490#endif /* CONFIG_NFS_V3_ACL */
482 491
483/* 492/*