summaryrefslogtreecommitdiff
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-09-22 19:15:36 +0000
committerSteve French <sfrench@us.ibm.com>2010-09-29 19:04:32 +0000
commitd3bf5221d3274b5015ad18a55060b074cca8d2f0 (patch)
tree5ac76fa5f694a83d800898b8bb0ab505f66a1597 /fs/cifs/connect.c
parent17edec6f563ba6b5630329fbe9473557bb475c3d (diff)
downloadlwn-d3bf5221d3274b5015ad18a55060b074cca8d2f0.tar.gz
lwn-d3bf5221d3274b5015ad18a55060b074cca8d2f0.zip
[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>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 271038b6ec0e..230410e0a453 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -47,7 +47,6 @@
#include "ntlmssp.h"
#include "nterr.h"
#include "rfc1002pdu.h"
-#include "cn_cifs.h"
#include "fscache.h"
#define CIFS_PORT 445