]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: compat_ioctl: use compat_ptr()
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Aug 2019 06:41:06 +0000 (23:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 17 Aug 2019 01:42:59 +0000 (18:42 -0700)
commit6da194e43d83146636a66266bddda589ba3f44f5
tree1b226edd697266ddb56894ee7fcc95e49f34624e
parentaaa3c63506a9474e34649cd0d4d224b52ce825e6
xfs: compat_ioctl: use compat_ptr()

For 31-bit s390 user space, we have to pass pointer arguments through
compat_ptr() in the compat_ioctl handler.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_ioctl32.c