diff options
| author | Christoph Hellwig <[email protected]> | 2025-03-17 05:48:35 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-03-18 13:47:45 +0000 |
| commit | 8d54b48fef677ea35084773308148af723ed7b64 (patch) | |
| tree | 6200242d510ccef7187b458e60529fad292828da /fs/xfs/xfs_rtalloc.c | |
| parent | xfs: remove xfs_buf_free_maps (diff) | |
| download | kernel-8d54b48fef677ea35084773308148af723ed7b64.tar.gz kernel-8d54b48fef677ea35084773308148af723ed7b64.zip | |
xfs: remove the flags argument to xfs_buf_read_uncached
No callers passes flags to xfs_buf_read_uncached, which makes sense
given that the flags apply to behavior not used for uncached buffers.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
| -rw-r--r-- | fs/xfs/xfs_rtalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index 3aa222ea9500..e35c728f222e 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c @@ -1350,7 +1350,7 @@ xfs_rt_check_size( error = xfs_buf_read_uncached(mp->m_rtdev_targp, XFS_FSB_TO_BB(mp, mp->m_sb.sb_rtstart) + daddr, - XFS_FSB_TO_BB(mp, 1), 0, &bp, NULL); + XFS_FSB_TO_BB(mp, 1), &bp, NULL); if (error) xfs_warn(mp, "cannot read last RT device sector (%lld)", last_block); @@ -1511,7 +1511,7 @@ xfs_rtmount_readsb( /* m_blkbb_log is not set up yet */ error = xfs_buf_read_uncached(mp->m_rtdev_targp, XFS_RTSB_DADDR, - mp->m_sb.sb_blocksize >> BBSHIFT, 0, &bp, + mp->m_sb.sb_blocksize >> BBSHIFT, &bp, &xfs_rtsb_buf_ops); if (error) { xfs_warn(mp, "rt sb validate failed with error %d.", error); |
