mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] CIFS: fix unbalanced calls to Get/FreeXid
@ 2007-08-23 16:39 Cyrill Gorcunov
  2007-08-24  1:42 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2007-08-23 16:39 UTC (permalink / raw)
  To: Steve French; +Cc: Andrew Morton, LKML

This patch fixes unbalanced calls to GetXid/FreeXid.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---

 fs/cifs/cifsfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index cabb6a5..2493cc4 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-24  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-23 16:39 [PATCH] CIFS: fix unbalanced calls to Get/FreeXid Cyrill Gorcunov
2007-08-24  1:42 ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®