Received: from eggs.gnu.org ([208.118.235.92]:46331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld7s-000321-MY for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sld7m-0006HQ-9B for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:41:00 -0400 Received: from sh.osrg.net ([192.16.179.4]:49020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld7l-0006Fj-Q6 for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:40:54 -0400 Date: Mon, 02 Jul 2012 18:33:50 +0900 Message-ID: From: MORITA Kazutaka In-Reply-To: <20120629153824.GA14382@lst.de> References: <20120627162258.GA13391@lst.de> <20120629153824.GA14382@lst.de> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [sheepdog] [PATCH] sheepdog: do not blindly memset all read buffers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: sheepdog@lists.wpkg.org, qemu-devel@nongnu.org, MORITA Kazutaka At Fri, 29 Jun 2012 17:38:24 +0200, Christoph Hellwig wrote: > > > > > goto done; > > > } > > > - > > > - create = 1; > > > - } else if (acb->aiocb_type == AIOCB_WRITE_UDATA > > > - && !is_data_obj_writable(inode, idx)) { > > > - /* Copy-On-Write */ > > > - create = 1; > > > - old_oid = oid; > > > - flags = SD_FLAG_CMD_COW; > > > + break; > > > + case AIOCB_WRITE_UDATA: > > > > Wrong indentation. > > Where? At least I can't find anything obvious and checkpath.pl is fine > with the patch, too. It seems that there is a redundant space before "case AIOCB_WRITE_UDATA:". == $ ./scripts/checkpatch.pl your.patch ERROR: switch and case should be at the same indent #92: FILE: block/sheepdog.c:1560: + switch (acb->aiocb_type) { [...] + case AIOCB_WRITE_UDATA: total: 1 errors, 0 warnings, 55 lines checked c.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.