sheepdog: do not blindly memset all read buffers
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): lpa9znsyof.wl%[email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Fri, 29 Jun 2012 17:38:24 +0200,
Quoted 14 lines · Christoph Hellwig
Quoted 14 lines
Quoted 13 lines
goto done; }(quoted diff) +2
-8- - 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:
Quoted 4 lines
Quoted 1 line
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.