Skip to content

Commit 89841b2

Browse files
Christoph Hellwigcmaiolino
authored andcommitted
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 <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
1 parent 915175b commit 89841b2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fs/xfs/xfs_buf.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ _xfs_buf_alloc(
232232
bp->b_mount = target->bt_mount;
233233
bp->b_flags = flags;
234234

235-
/*
236-
* Set length and io_length to the same value initially.
237-
* I/O routines should use io_length, which will be the same in
238-
* most cases but may be reset (e.g. XFS recovery).
239-
*/
240235
error = xfs_buf_get_maps(bp, nmaps);
241236
if (error) {
242237
kmem_cache_free(xfs_buf_cache, bp);

0 commit comments

Comments
 (0)