Jeff Mahoney
2a36224918
btrfs: fix btrfs_compat_ioctl failures on non-compat ioctls
...
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: stable@vger.kernel.org
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-02-08 17:47:30 +01:00
..
2016-12-06 16:06:58 +01:00
2016-09-22 10:55:32 +02:00
2017-01-09 11:24:50 +01:00
2016-12-13 11:01:30 -08:00
2016-12-06 16:07:00 +01:00
2015-01-14 19:23:47 +01:00
2016-09-26 17:59:49 +02:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-11-30 13:45:19 +01:00
2016-12-06 16:06:59 +01:00
2016-12-09 06:00:28 -08:00
2016-07-26 13:52:25 +02:00
2016-12-13 11:01:30 -08:00
2016-12-06 16:06:59 +01:00
2016-11-30 13:45:21 +01:00
2016-12-13 09:14:42 -08:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-13 09:14:42 -08:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:06:59 +01:00
2016-07-26 13:52:25 +02:00
2016-01-15 19:22:28 +01:00
2017-01-03 15:19:17 +01:00
2016-12-06 16:06:59 +01:00
2016-12-13 09:14:42 -08:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:07:00 +01:00
2015-12-17 12:16:47 -08:00
2016-06-06 14:08:28 +02:00
2016-06-06 14:08:28 +02:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-01-15 19:25:02 +01:00
2017-01-26 15:48:56 -08:00
2017-02-08 17:47:30 +01:00
2015-01-06 11:04:29 -08:00
2016-01-07 14:30:52 +01:00
2014-11-19 10:34:35 -08:00
2016-11-30 13:45:19 +01:00
2015-12-17 12:16:47 -08:00
2015-03-03 17:23:57 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:58 +01:00
2014-09-17 13:37:12 -07:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2014-01-28 13:20:24 -08:00
2016-12-13 09:14:42 -08:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2016-12-13 09:14:42 -08:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:07:00 +01:00
2016-01-07 14:38:02 +01:00
2016-05-25 22:35:14 +02:00
2016-12-06 16:07:00 +01:00
2016-09-26 18:08:44 +02:00
2016-01-21 18:50:40 +01:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:07:00 +01:00
2015-12-18 02:51:32 +00:00
2017-01-03 15:19:28 +01:00
2016-08-25 03:58:32 -07:00
2016-05-25 22:35:14 +02:00
2015-06-10 09:26:17 -07:00
2016-12-19 18:08:15 +01:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:07:00 +01:00
2016-12-06 16:07:00 +01:00
2016-05-17 19:17:09 -04:00
2016-11-30 13:45:19 +01:00