]> git.proxmox.com Git - mirror_zfs.git/commit
Remove inconsistent use of EOPNOTSUPP
authorNed Bass <bass6@llnl.gov>
Tue, 9 Nov 2010 22:20:01 +0000 (14:20 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Nov 2010 21:26:56 +0000 (13:26 -0800)
commitb04cffc9b03db08148f19bfbc92a53e5dc7b30d5
tree42f36dd1493ec6101b912518859459b226226996
parent8c3ab23f4be92a4e55f07f8c1bb467b851ed3e54
Remove inconsistent use of EOPNOTSUPP

Commit 3ee56c292bbcd7e6b26e3c2ad8f0e50eee236bcc changed an ENOTSUP return value
in one location to ENOTSUPP to fix user programs seeing an invalid ioctl()
error code.  However, use of ENOTSUP is widespread in the zfs module.  Instead
of changing all of those uses, we fixed the ENOTSUP definition in the SPL to be
consistent with user space.  The changed return value in the above commit is
therefore no longer needed, so this commit reverses it to maintain consistency.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zfs_ioctl.c