Re: [PATCH] autofs-5.0.7: include linux/nfs.h directly in rpc_subs.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2020-09-21 at 07:33 +0200, Fabrice Fontaine wrote:
> From: Andreas Oberritter <obi@xxxxxxxxxxxxxxxx>

Thanks for the patch.

> 
> Fixes compile error with uclibc. Glibc's nfs/nfs.h contains
> nothing but "#include linux/nfs.h". rpc_subs.h already includes
> other linux/nfs*.h files directly.

Sounds sensible and the patch applies cleanly to the current
upstream repo.

> 
> Signed-off-by: Andreas Oberritter <obi@xxxxxxxxxxxxxxxx>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
> Upstream-Status: Pending

I've added this patch to my patch queue.

I'll likely be pushing my patch queue to the repo. fairly soon
because I need to get release 5.1.7 out. But I do still need to
carry out some more extensive testing before doing so.

> ---
>  include/rpc_subs.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/rpc_subs.h b/include/rpc_subs.h
> index b6d59f9..a2d9648 100644
> --- a/include/rpc_subs.h
> +++ b/include/rpc_subs.h
> @@ -18,7 +18,7 @@
>  
>  #include <rpc/rpc.h>
>  #include <rpc/pmap_prot.h>
> -#include <nfs/nfs.h>
> +#include <linux/nfs.h>
>  #include <linux/nfs2.h>
>  #include <linux/nfs3.h>
>  




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux