diff options
| author | Yun Zhou <yun.zhou@windriver.com> | 2026-09-16 08:43:35 +0800 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 10:04:43 +0200 |
| commit | 6654fca702b28b87cd365242498262080b1c223f (patch) | |
| tree | ba71df66143c9faeea8518455889ca39887f1441 /tools/perf/scripts/python/flamegraph.py | |
| parent | 8439f269aae2b37830b2a6af45f9b111a7856b17 (diff) | |
xfs: move xfs_sync_sb_buf() out of libxfs into xfs_ioctl.c
xfs_sync_sb_buf() dereferences mp->m_sb_bp and mp->m_rtsb_bp, which
only exist in the kernel's struct xfs_mount, not in xfsprogs' libxfs.
Keeping it in libxfs is a porting hazard.
Its only caller, xfs_ioc_setlabel(), is kernel-only, so move it there
and make it static.
Fixes: c1351fb48eee ("xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf")
Suggested-by: Darrick J. Wong <djwong@kernel.org>
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Yun Zhou <yun.zhou@windriver.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
