[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 configure    | 1 +
 ioctls/vfs.c | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/configure b/configure
index 8639a38e..450c94ad 100755
--- a/configure
+++ b/configure
@@ -291,6 +291,7 @@ fi
 #############################################################################################
 
 check_header linux/caif/caif_socket.h USE_CAIF
+check_header linux/fsmap.h USE_FSMAP
 check_header linux/if_alg.h USE_IF_ALG
 check_header linux/rds.h USE_RDS
 check_header linux/vfio.h USE_VFIO
diff --git a/ioctls/vfs.c b/ioctls/vfs.c
index 0bad6f56..1f60da45 100644
--- a/ioctls/vfs.c
+++ b/ioctls/vfs.c
@@ -2,6 +2,9 @@
 #include <linux/fiemap.h>
 #include <linux/fs.h>
 #include <linux/blktrace_api.h>
+#ifdef USE_FSMAP
+#include <linux/fsmap.h>
+#endif
 #include <linux/ioctl.h>
 #include <asm/ioctls.h>
 #include "ioctls.h"
@@ -241,6 +244,9 @@ static const struct ioctl vfs_ioctls[] = {
 #ifdef FS_IOC_GET_ENCRYPTION_POLICY
 	{ .name = "FS_IOC_GET_ENCRYPTION_POLICY", .request = FS_IOC_GET_ENCRYPTION_POLICY, },
 #endif
+#ifdef FS_IOC_GETFSMAP
+	{ .name = "FS_IOC_GETFSMAP", .request = FS_IOC_GETFSMAP, },
+#endif
 };
 
 static const struct ioctl_group vfs_grp = {
-- 
2.13.0

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux