[Cluster-devel] [Patch net-next v3 7/9] fs: use generic union inet_addr and helper functions

2013-08-19 Thread Cong Wang
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/struct sockaddr too. Since some dlm code needs to compare -sin_port, introduce a generic function inet_addr_equal_strict() for it. Cc: Steve French

Re: [Cluster-devel] [Patch net-next v2 6/8] fs: use generic union inet_addr and helper functions

2013-08-04 Thread Cong Wang
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

[Cluster-devel] [Patch net-next v2 6/8] fs: use generic union inet_addr and helper functions

2013-08-02 Thread Cong Wang
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. Cc: Steve French sfre...@samba.org

[Cluster-devel] [Patch net-next 5/7] fs: use generic union inet_addr and help functions

2013-07-22 Thread Cong Wang
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. Cc: Steve French sfre...@samba.org

[Cluster-devel] [RFC Patch net-next 5/5] nfs, cifs: abstract generic inet_addr_equal_strict()

2013-06-27 Thread Cong Wang
Signed-off-by: Cong Wang amw...@redhat.com --- fs/cifs/connect.c | 38 - fs/dlm/lowcomms.c | 24 ++- fs/nfs/client.c| 94 ++- fs/nfs/nfs4filelayoutdev.c | 37 ++--- fs/nfs/super.c