"git@gitlab.flux.utah.edu:xcap/xcap-capability-linux.git" did not exist on "361943ad0ba3f16e66859e30a408915e008ba91e"
CIFS: Make cifs_convert_address() take a const src pointer and a length
Make cifs_convert_address() take a const src pointer and a length so that all the strlen() calls in their can be cut out and to make it unnecessary to modify the src string. Also return the data length from dns_resolve_server_name_to_ip() so that a strlen() can be cut out of cifs_compose_mount_options() too. Acked-by:Jeff Layton <jlayton@redhat.com> Signed-off-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
Showing
- fs/cifs/cifs_dfs_ref.c 2 additions, 3 deletionsfs/cifs/cifs_dfs_ref.c
- fs/cifs/cifsproto.h 2 additions, 2 deletionsfs/cifs/cifsproto.h
- fs/cifs/connect.c 1 addition, 0 deletionsfs/cifs/connect.c
- fs/cifs/dns_resolve.c 9 additions, 11 deletionsfs/cifs/dns_resolve.c
- fs/cifs/netmisc.c 24 additions, 21 deletionsfs/cifs/netmisc.c
Loading
Please register or sign in to comment