]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the possibly unused mp variable in xfs_file_compat_ioctl
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Feb 2021 17:30:10 +0000 (18:30 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 3 Feb 2021 19:31:14 +0000 (20:31 +0100)
commitc23e2881458a2ef39bb041af520320785da286a4
treed450b3bca033b1ea825893871a59a41022dc66aa
parentb3e5acac691ac5d1e1eab01102c2ab6aa311bcdf
xfs: remove the possibly unused mp variable in xfs_file_compat_ioctl

The mp variable in xfs_file_compat_ioctl is only used when
BROKEN_X86_ALIGNMENT is define.  Remove it and just open code the
dereference in a few places.

Link: https://lore.kernel.org/r/20210203173009.462205-1-christian.brauner@ubuntu.com
Fixes: b3e5acac691a ("xfs: support idmapped mounts")
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
fs/xfs/xfs_ioctl32.c