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)
commit3a2e176905b1a8d1b51cbfda719058f5ce893efd
tree875d275cf9c8d211702aca9838b8af86268d23a2
parent9494b2ce4b511e6d285afc0a5006b6cf5ea2b115
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