]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl
authorLuke Dashjr <luke@dashjr.org>
Thu, 29 Oct 2015 08:22:21 +0000 (08:22 +0000)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:40:27 +0000 (10:40 +0200)
commit60adf977e66374903805c738cbdb0a9e1abb2488
treed816cb1d5c121f75ea39a0e877b4fe732848fd5d
parentd2c7d382593c33c66c89cf7206062c20164b85b1
btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

32-bit ioctl uses these rather than the regular FS_IOC_* versions. They can
be handled in btrfs using the same code. Without this, 32-bit {ch,ls}attr
fail.

Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Cc: stable@vger.kernel.org
Reviewed-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c