Skip to content

Commit 9ed9df9

Browse files
Christoph Hellwigcmaiolino
authored andcommitted
xfs: remove a very outdated comment from xlog_alloc_log
The xlog_iclog definition has been pretty standard for a while, so drop this now rather misleading comment. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
1 parent 16c1802 commit 9ed9df9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

fs/xfs/xfs_log.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,13 +1435,6 @@ xlog_alloc_log(
14351435
init_waitqueue_head(&log->l_flush_wait);
14361436

14371437
iclogp = &log->l_iclog;
1438-
/*
1439-
* The amount of memory to allocate for the iclog structure is
1440-
* rather funky due to the way the structure is defined. It is
1441-
* done this way so that we can use different sizes for machines
1442-
* with different amounts of memory. See the definition of
1443-
* xlog_in_core_t in xfs_log_priv.h for details.
1444-
*/
14451438
ASSERT(log->l_iclog_size >= 4096);
14461439
for (i = 0; i < log->l_iclog_bufs; i++) {
14471440
size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) *

0 commit comments

Comments
 (0)