summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-06-26 12:53:04 -0700
committerBrian Behlendorf <[email protected]>2013-06-26 15:20:13 -0700
commit88c283952f0bfeab54612f9ce666601d83c4244f (patch)
tree6106c5f99056e834ddcf229858d41d03e50780d2 /include/linux
parent0c1171dcb5c50f3a03c60f4346209c23a2b5ef86 (diff)
Return -EOPNOTSUPP for ZFS_IOC_{GET|SET}FLAGS
Until these hooks are fully implemented return the expected -EOPNOTSUPP error to indicate they are not functional. This allows test suites such as xfstests to cleanly skip testing this functionality until it's implemented. Signed-off-by: Brian Behlendorf <[email protected]> Issue #229
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/vfs_compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/vfs_compat.h b/include/linux/vfs_compat.h
index c9fa76ece..bccf0d01f 100644
--- a/include/linux/vfs_compat.h
+++ b/include/linux/vfs_compat.h
@@ -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 */