[linux-cifs-client] Re: [DFS support patchset: ] [1/5]: Upcall implementation for resolving server name to ip via keyctl API

Steve French smfrench at gmail.com
Wed Jan 9 02:57:20 GMT 2008


On Dec 18, 2007 8:15 AM, Q (Igor Mammedov) <qwerty0987654321 at mail.ru> wrote:
>         Adds additional option CIFS_DFS_UPCALL to fs/Kconfig for enabling
>         DFS support.
>         Resolved IP address is saved as a string in the key payload.
>
> Signed-off-by: Igor Mammedov <niallain at gmail.com>
> ---
>  fs/Kconfig             |   10 ++++
>  fs/cifs/Makefile       |    2 +
>  fs/cifs/cifs_dfs_ref.c |  121 ++++++++++++++++++++++++++++++++++++++++++++++++
>  fs/cifs/cifs_dfs_ref.h |   29 +++++++++++
>  fs/cifs/cifsfs.c       |   15 ++++++-
>  5 files changed, 176 insertions(+), 1 deletions(-)
>  create mode 100644 fs/cifs/cifs_dfs_ref.c
>  create mode 100644 fs/cifs/cifs_dfs_ref.h

I made modifications to the patch to make the name of the
host name resolution function more generic and to fix some includes
and to remove a build warning.  See attached.

Unless there are objections, I plan to check into the cifs develpment tree.
It should be fairly easy to move just this set of functions to a
different (non-cifs
specific) module if nfs ever needs host name resolution to ip addresses.



-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dns-resolve.patch
Type: text/x-patch
Size: 10093 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20080108/ed4d92b4/dns-resolve.bin


More information about the linux-cifs-client mailing list