proc: cleanup the compat vs no compat file ops
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Sep 2020 14:22:30 +0000 (16:22 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Sep 2020 01:26:24 +0000 (21:26 -0400)
commit906146f44922392f00293e52ea9b61168b75ac62
tree501c3bea5205d40ceb8666926f6d09190a81e777
parentf6ef7b7bb285c7b63a36f370b40b990891a9aa1f
proc: cleanup the compat vs no compat file ops

Instead of providing a special no-compat version provide a special
compat version for operations with ->compat_ioctl.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/inode.c