Shrink stack space usage in cifs_construct_tcon
authorSteve French <sfrench@us.ibm.com>
Tue, 1 Mar 2011 05:02:57 +0000 (05:02 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 19 May 2011 14:10:48 +0000 (14:10 +0000)
commit34c87901e113799a45423fdac29c7478c889a95d
tree1398028abbfc10d181f3a3c805c78ebb689d9e70
parentfd62cb7e7411f1f5ca774145665316d3612fed9a
Shrink stack space usage in cifs_construct_tcon

We were reserving MAX_USERNAME (now 256) on stack for
something which only needs to fit about 24 bytes ie
string krb50x +  printf version of uid

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c