[CIFS] Fix ordering of cleanup on module init failure
authorSteve French <sfrench@us.ibm.com>
Wed, 22 Sep 2010 19:15:36 +0000 (19:15 +0000)
committerSteve French <sfrench@us.ibm.com>
Wed, 29 Sep 2010 19:04:32 +0000 (19:04 +0000)
commitd3bf5221d3274b5015ad18a55060b074cca8d2f0
tree5ac76fa5f694a83d800898b8bb0ab505f66a1597
parent17edec6f563ba6b5630329fbe9473557bb475c3d
[CIFS] Fix ordering of cleanup on module init failure

If registering fs cache failed, we weren't cleaning up proc.

Acked-by: Jeff Layton <jlayton@redhat.com>
CC: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/connect.c