]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: don't pass ioflags around in the ioctl path
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jul 2016 01:29:35 +0000 (11:29 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:29:35 +0000 (11:29 +1000)
commit6f3c6e932ad579e7a40b6137d42153576501386f
tree29d669c13e40bc557ebf5ae50b220017a9f4b79a
parent50071cc55229e13f7b459c28388ff0f4e1bac824
xfs: don't pass ioflags around in the ioctl path

Instead check the file pointer for the invisble I/O flag directly, and
use the chance to drop redundant arguments from the xfs_ioc_space
prototype.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl.h
fs/xfs/xfs_ioctl32.c