Date: Wed, 21 Jul 2010 14:16:33 GMT From: pluknet <pluknet@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/148820: [patch] [ext2fs] duplicated comment block cleanup Message-ID: <201007211416.o6LEGXDW090061@www.freebsd.org> Resent-Message-ID: <201007211420.o6LEK1o4083344@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148820 >Category: kern >Synopsis: [patch] [ext2fs] duplicated comment block cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 21 14:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: pluknet >Release: HEAD r209037 >Organization: >Environment: >Description: ext2_alloc() has a leading duplicated comment. This patch removes the second copy. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: sys/fs/ext2fs/ext2_alloc.c =================================================================== --- sys/fs/ext2fs/ext2_alloc.c (revision 209037) +++ sys/fs/ext2fs/ext2_alloc.c (working copy) @@ -75,20 +75,6 @@ * inode for the file. * 2) quadradically rehash into other cylinder groups, until an * available block is located. - * - * A preference may be optionally specified. If a preference is given - * the following hierarchy is used to allocate a block: - * 1) allocate the requested block. - * 2) allocate a rotationally optimal block in the same cylinder. - * 3) allocate a block in the same cylinder group. - * 4) quadradically rehash into other cylinder groups, until an - * available block is located. - * If no block preference is given the following hierarchy is used - * to allocate a block: - * 1) allocate a block in the cylinder group that contains the - * inode for the file. - * 2) quadradically rehash into other cylinder groups, until an - * available block is located. */ int >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211416.o6LEGXDW090061>