CIFS: Fix memory leak in cifs_do_mount
authorPavel Shilovsky <piastry@etersoft.ru>
Wed, 25 May 2011 20:02:16 +0000 (00:02 +0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 27 May 2011 03:45:37 +0000 (03:45 +0000)
commit641a58d66d086327042e9d73c6606fd02c8f067c
treed34ce82a1971daef0735c398924e3161c22b8391
parent6848b7334b24b47aa3d0e70342ff839ffa95d5fa
CIFS: Fix memory leak in cifs_do_mount

and simplify error handling code.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c