[linux-cifs-client] [Patch] Clean up open_cred_file()

Scott Lovenberg scott.lovenberg at gmail.com
Sun Apr 18 01:57:31 MDT 2010


This patch cleans up the open_cred_file() function in mount.cifs.c.  It also
zeros out the password buffer.
I made the buffer length a static int since macro'ing it seemed like leaky
abstraction (it only makes sense within the scope of the function, IMHO).
Is this acceptable?

P.S. - I'm still getting used to git, please let me know if this patch is
formatted incorrectly.
-- 
Peace and Blessings,
-Scott.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/linux-cifs-client/attachments/20100418/5a9c3ee4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.cifs.c.patch
Type: text/x-patch
Size: 4323 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/linux-cifs-client/attachments/20100418/5a9c3ee4/attachment.bin>


More information about the linux-cifs-client mailing list