mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
f15364bd4c
commit
065f30ec14
@ -10,7 +10,6 @@
|
||||
* nfs symlink handling code
|
||||
*/
|
||||
|
||||
#define NFS_NEED_XDR_TYPES
|
||||
#include <linux/time.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/sunrpc/clnt.h>
|
||||
|
@ -96,7 +96,7 @@ struct nfs3_fh {
|
||||
#define MOUNTPROC3_UMNTALL 4
|
||||
|
||||
|
||||
#if defined(__KERNEL__) || defined(NFS_NEED_KERNEL_TYPES)
|
||||
#if defined(__KERNEL__)
|
||||
|
||||
/* Number of 32bit words in post_op_attr */
|
||||
#define NFS3_POST_OP_ATTR_WORDS 22
|
||||
|
Loading…
Reference in New Issue
Block a user