Return -EOPNOTSUPP for ZFS_IOC_{GET|SET}FLAGS
[zfs.git] / include / linux / vfs_compat.h
index c9fa76e..bccf0d0 100644 (file)
@@ -149,4 +149,7 @@ typedef     int             zpl_umode_t;
 #define zpl_sget(type, cmp, set, fl, mtd)      sget(type, cmp, set, mtd)
 #endif /* HAVE_5ARG_SGET */
 
+#define ZFS_IOC_GETFLAGS       FS_IOC_GETFLAGS
+#define ZFS_IOC_SETFLAGS       FS_IOC_SETFLAGS
+
 #endif /* _ZFS_VFS_H */