[CIFS] Fix unbalanced call to GetXid/FreeXid
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 24 Aug 2007 00:23:36 +0000 (00:23 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 24 Aug 2007 00:23:36 +0000 (00:23 +0000)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c

index cabb6a5..2493cc4 100644 (file)
@@ -346,7 +346,7 @@ int cifs_xquota_set(struct super_block *sb, int quota_type, qid_t qid,
        if (pTcon) {
                cFYI(1, ("set type: 0x%x id: %d", quota_type, qid));
        } else {
-               return -EIO;
+               rc = -EIO;
        }
 
        FreeXid(xid);