On Fri, 2013-08-02 at 03:31 -0700, Christoph Hellwig wrote: > On Fri, Aug 02, 2013 at 03:14:32PM +0800, Cong Wang wrote: > > From: Cong Wang <amw...@redhat.com> > > > > nfs and cifs define some helper functions for sockaddr, > > they can use the generic functions for union inet_addr too. > > > > Since some dlm code needs to compare ->sin_port, introduce a > > generic function inet_addr_equal_strict() for it. > > Would sound more useful to have a sockaddr_equal case that can be used > on any sockaddr. For cases that no current user handles just return > false. >
Ok, since you and other people ask for it. Thanks.