]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/9p/conv.c
sdio: fix IRQ diagnostic message
[linux-2.6-omap-h63xx.git] / net / 9p / conv.c
index 37451178e7618013eb38ab7c2f9fae79308b3391..d979d958ea199c88dea062fa9fa6f797872fda6a 100644 (file)
@@ -763,6 +763,7 @@ struct p9_fcall *p9_create_twrite(u32 fid, u64 offset, u32 count,
        if (err) {
                kfree(fc);
                fc = ERR_PTR(err);
+               goto error;
        }
 
        if (buf_check_overflow(bufp)) {
@@ -795,6 +796,7 @@ struct p9_fcall *p9_create_twrite_u(u32 fid, u64 offset, u32 count,
        if (err) {
                kfree(fc);
                fc = ERR_PTR(err);
+               goto error;
        }
 
        if (buf_check_overflow(bufp)) {