vfs_btrfs: fix include order, includes.h or replace.h should be first
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Aug 2022 13:29:28 +0000 (15:29 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 15 Aug 2022 15:03:36 +0000 (15:03 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_btrfs.c

index 1ee3f1831c6c0af6d6570cb7bdfa2165f92908d7..a7ba0ece206ce2dd3421a13d4ddf60c96a782768 100644 (file)
@@ -17,6 +17,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "includes.h"
+#include "system/filesys.h"
 #include <linux/ioctl.h>
 #include <linux/fs.h>
 #include <sys/ioctl.h>
@@ -24,8 +26,6 @@
 #include <fcntl.h>
 #include <dirent.h>
 #include <libgen.h>
-#include "system/filesys.h"
-#include "includes.h"
 #include "smbd/smbd.h"
 #include "smbd/globals.h"
 #include "librpc/gen_ndr/smbXsrv.h"