]> 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)
commit3120a37fc9f7fb0620ee2b33ac5bd03f629bf7f4
tree1398028abbfc10d181f3a3c805c78ebb689d9e70
parent310b106f8a28d8eb63126b12911fb75d8a484954
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