소스 검색

nfs: remove unnecessary NFS_NEED_* defines

Thanks to Robert Day for pointing out that these two defines are unused.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Trond Myklebust <trond@netapp.com>Trond Myklebust <trond@netapp.com>
Cc: Neil Brown <neilb@suse.de>
Cc: "Robert P. J. Day" <rpjday@crashcourse.ca>
J. Bruce Fields 17 년 전
부모
커밋
065f30ec14
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      fs/nfs/symlink.c
  2. 1 1
      include/linux/nfs3.h

+ 0 - 1
fs/nfs/symlink.c

@@ -10,7 +10,6 @@
  *  nfs symlink handling code
  *  nfs symlink handling code
  */
  */
 
 
-#define NFS_NEED_XDR_TYPES
 #include <linux/time.h>
 #include <linux/time.h>
 #include <linux/errno.h>
 #include <linux/errno.h>
 #include <linux/sunrpc/clnt.h>
 #include <linux/sunrpc/clnt.h>

+ 1 - 1
include/linux/nfs3.h

@@ -96,7 +96,7 @@ struct nfs3_fh {
 #define MOUNTPROC3_UMNTALL	4
 #define MOUNTPROC3_UMNTALL	4
  
  
 
 
-#if defined(__KERNEL__) || defined(NFS_NEED_KERNEL_TYPES)
+#if defined(__KERNEL__)
 
 
 /* Number of 32bit words in post_op_attr */
 /* Number of 32bit words in post_op_attr */
 #define NFS3_POST_OP_ATTR_WORDS		22
 #define NFS3_POST_OP_ATTR_WORDS		22