summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYun Zhou <yun.zhou@windriver.com>2026-09-16 08:43:35 +0800
committerCarlos Maiolino <cem@kernel.org>2026-10-05 10:04:43 +0200
commit6654fca702b28b87cd365242498262080b1c223f (patch)
treeba71df66143c9faeea8518455889ca39887f1441 /tools/perf/scripts/python/task-analyzer.py
parent8439f269aae2b37830b2a6af45f9b111a7856b17 (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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions