NFS: Move common includes outside ifdef
authorGUO Zihua <guozihua@huawei.com>
Fri, 18 Aug 2023 03:31:02 +0000 (11:31 +0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 24 Aug 2023 17:24:15 +0000 (13:24 -0400)
commit08be82ba0cffdfa15ce2e2c312cb704823971862
treef42ced4ad6505304e24057885805a03329b1923c
parente87cf8a28e7592bd19064e8181324ae26bc02932
NFS: Move common includes outside ifdef

module.h, clnt.h, addr.h and dns_resolve.h is always included whether
CONFIG_NFS_USE_KERNEL_DNS is set or not and their order does not seems
to matter.

Move them outside the ifdef to simplify code and avoid checkincludes
message.

Signed-off-by: GUO Zihua <guozihua@huawei.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dns_resolve.c