summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-01-16 07:03:35 +0100
committerCarlos Maiolino <cem@kernel.org>2025-01-24 12:06:18 +0100
commit89841b23809f5fb12cbead142204064739fef25a (patch)
treecae82fc5dfbbee6192639e5b66c92e25798ce6ef
parent915175b49f65d9edeb81659e82cbb27b621dbc17 (diff)
xfs: remove an out of data comment in _xfs_buf_alloc
There hasn't been anything like an io_length for a long time. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
-rw-r--r--fs/xfs/xfs_buf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 7fbdd4b30676..f1252ed8bd0a 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -232,11 +232,6 @@ _xfs_buf_alloc(
bp->b_mount = target->bt_mount;
bp->b_flags = flags;
- /*
- * Set length and io_length to the same value initially.
- * I/O routines should use io_length, which will be the same in
- * most cases but may be reset (e.g. XFS recovery).
- */
error = xfs_buf_get_maps(bp, nmaps);
if (error) {
kmem_cache_free(xfs_buf_cache, bp);