[linux-cifs-client] [PATCH 2/2] [CIFS] cleanup code by moving often repeated code sequence into a separate function - part2

Günter Kukkukk linux at kukkukk.com
Thu May 29 00:39:19 GMT 2008


move the code sequences which use
  - cifs_strtoUCS() 
to the new function
  - setup_ucs_nls_name()
passing the "remap" parameter as "0" (false).

Signed-off-by: Günter Kukkukk <linux at kukkukk.com>

 fs/cifs/cifssmb.c |   47 +++++++++--------------------------------------
 1 files changed, 9 insertions(+), 38 deletions(-)
-- 
1.5.4.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup_ucs_nls_02.patch
Type: text/x-diff
Size: 2504 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20080529/cc077ca8/cleanup_ucs_nls_02.bin


More information about the linux-cifs-client mailing list