kern/148820: [patch] [ext2fs] duplicated comment block cleanup
pluknet
pluknet at gmail.com
Wed Jul 21 14:20:02 UTC 2010
>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:
More information about the freebsd-bugs
mailing list