CIFS: fix unbalanced calls to Get/FreeXid
PATCH 1/1 CIFS: fix unbalanced calls to Get/FreeXid
This patch fixes unbalanced calls to GetXid/FreeXid.
Signed-off-by Cyrill Gorcunov <[email protected]>
---
fs/cifs/cifsfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/cifs/cifsfs.c +1 -1
@@ -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);
Steve French
Appliedmerged into cifs-2.6.git tree
Quoted 22 lines · Cyrill Gorcunov
This patch fixes unbalanced calls to GetXid/FreeXid.
Signed-off-by Cyrill Gorcunov <[email protected]>---
fs/cifs/cifsfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)fs/cifs/cifsfs.c +1
-1@@ -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);
Signature · 3 lines
Thanks, Steve