cifs: consolidate error handling in several functions
authorJeff Layton <jlayton@redhat.com>
Thu, 5 Aug 2010 17:58:38 +0000 (13:58 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 16 Aug 2010 20:34:48 +0000 (20:34 +0000)
commit232341ba7fa15115d40f6aa0f8dd14e96e3ad375
tree1e9c2232b754d99616e5f7770d4c637438411455
parent5d9ac7fd32f600f9451ea58abdb07f7ed42e921d
cifs: consolidate error handling in several functions

cifs has a lot of complicated functions that have to clean up things on
error, but some of them don't have all of the cleanup code
well-consolidated. Clean up and consolidate error handling in several
functions.

This is in preparation of later patches that will need to put references
to the tcon link container.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/dir.c
fs/cifs/file.c