]> Pileus Git - ~andy/linux/blobdiff - fs/compat.c
nfsd: allow deprecated interface to be compiled out.
[~andy/linux] / fs / compat.c
index 718c7062aec129844cda361e2f4b8a143aa31861..df5e671f00151142bf6577d70aceb8243a74807a 100644 (file)
@@ -1963,7 +1963,7 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
 }
 #endif /* HAVE_SET_RESTORE_SIGMASK */
 
-#if defined(CONFIG_NFSD) || defined(CONFIG_NFSD_MODULE)
+#if (defined(CONFIG_NFSD) || defined(CONFIG_NFSD_MODULE)) && !defined(CONFIG_NFSD_DEPRECATED)
 /* Stuff for NFS server syscalls... */
 struct compat_nfsctl_svc {
        u16                     svc32_port;