]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: offer native ioctls even if CONFIG_COMPAT is set
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Nov 2015 08:38:46 +0000 (09:38 +0100)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 24 Nov 2015 02:52:28 +0000 (21:52 -0500)
commit57d61118a814c9d0e6460ef15b6e0217a455e0b4
tree875d275cf9c8d211702aca9838b8af86268d23a2
parentff7e6f297d6c05fa67047c86b0d42152132bc957
nfs: offer native ioctls even if CONFIG_COMPAT is set

Without this for example 64-bit binaries on typical amd64 distributions
would not be able to use ioctls on NFS.  For now this only affects clones.
Additionally ->compat_ioctl is defined even for non-compat builds, so
get rid of the pointless ifdef.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4file.c