Re: [PATCH 3/3] mountd: prepend '$' to make use_ipaddr clients self-describing

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

 



On Tue,  1 May 2012 21:43:34 -0400 "J. Bruce Fields" <bfields@xxxxxxxxxx>
wrote:
> diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
> index 6cc58d2..1833b3a 100644
> --- a/utils/mountd/cache.c
> +++ b/utils/mountd/cache.c
> @@ -551,7 +551,7 @@ static void nfsd_fh(FILE *f)
>  
>  	auth_reload();
>  
> -	if (use_ipaddr) {
> +	if (dom[0] == '$') {

        if (is_ipaddr_client(dom)) {
??

Otherwise:
  Reviewed-by: NeilBrown <neilb@xxxxxxx>

Thanks,
NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux