mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
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 <behlendorf1@llnl.gov> Issue #229
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user