hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/xfs/xfs_acl.h
....@@ -13,14 +13,16 @@
1313 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type);
1414 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
1515 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
16
+void xfs_forget_acl(struct inode *inode, const char *name);
1617 #else
1718 static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type)
1819 {
1920 return NULL;
2021 }
2122 # define xfs_set_acl NULL
23
+static inline void xfs_forget_acl(struct inode *inode, const char *name)
24
+{
25
+}
2226 #endif /* CONFIG_XFS_POSIX_ACL */
23
-
24
-extern void xfs_forget_acl(struct inode *inode, const char *name, int xflags);
2527
2628 #endif /* __XFS_ACL_H__ */