]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5182bf1565656e23c1b2c30979a621208314d382
tree1398028abbfc10d181f3a3c805c78ebb689d9e70
parentdb57f46ca957bdd60812569e7dfcd5374f98c5f6
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