Re: [PATCH] nfs4: fix referrals on mounts that use IPv6 addrs

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

 



Weston Andros Adamson wrote:

  diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c
  index 9c8eca3..307743d 100644
  --- a/fs/nfs/nfs4namespace.c
  +++ b/fs/nfs/nfs4namespace.c
  @@ -52,6 +52,35 @@ Elong:
   }
   
   /*
  + * parse the path component of an nfs path ("<server>:<path>").
  + *  nfspath - the "<server>:<path>" string
  + *  end - pointer to end of devname component of 'nfspath'
  + * returns NULL on failure
  + */

The comment seems odd to me.  You're not parsing the path component, you're
parsing the nfspath to return the path.  And the term "devname component"
hasn't been defined anywhere.  How about this:

Return the path component of an nfs path ("<server>:<path>").
 nfspath - the "<server>:<path>" string
 end - pointer to end of nfspath
returns NULL on failure
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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