On Mon, Feb 06, 2017 at 07:39:09PM -0500, Jeff Mahoney wrote: > Commit 4c63c2454ef incorrectly assumed that returning -ENOIOCTLCMD would > cause the native ioctl to be called. The ->compat_ioctl callback is > expected to handle all ioctls, not just compat variants. As a result, > when using 32-bit userspace on 64-bit kernels, everything except those > three ioctls would return -ENOTTY. > > Fixes: 4c63c2454ef ("btrfs: bugfix: handle > FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl") > Cc: sta...@vger.kernel.org > Signed-off-by: Jeff Mahoney <je...@suse.com>
Reviewed-by: David Sterba <dste...@suse.com> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html