]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/acl.c
Update bcachefs sources to e82e656279 bcachefs: Cleanups for building in userspace
[bcachefs-tools-debian] / libbcachefs / acl.c
index 6fcac72cdd106cdb6e6922d17f6d27b1fc3b5845..690f4b5b77e839cb7c598ae900061b90730ad156 100644 (file)
@@ -1,9 +1,12 @@
+#ifndef NO_BCACHEFS_FS
+
 #include "bcachefs.h"
 
-#include <linux/init.h>
+#include <linux/fs.h>
+#include <linux/posix_acl.h>
+#include <linux/posix_acl_xattr.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
-#include <linux/fs.h>
 
 #include "xattr.h"
 #include "acl.h"
@@ -223,3 +226,5 @@ int bch2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
 
        return ret;
 }
+
+#endif /* NO_BCACHEFS_FS */