xfs: rename xfs_inode_can_atomicwrite() -> xfs_inode_can_hw_atomic_write()
authorJohn Garry <john.g.garry@oracle.com>
Wed, 7 May 2025 21:18:23 +0000 (14:18 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 7 May 2025 21:25:30 +0000 (14:25 -0700)
commit5af9f5508477f088320fdce6c0fd69f960aee319
treec868735b64e63e8a6ddb9f618aef3baca4572b70
parent84270a1a30c964e51af3e489411b4e178c4f153e
xfs: rename xfs_inode_can_atomicwrite() -> xfs_inode_can_hw_atomic_write()

In future we will want to be able to check if specifically HW offload-based
atomic writes are possible, so rename xfs_inode_can_atomicwrite() ->
xfs_inode_can_hw_atomicwrite().

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[djwong: add an underscore to be consistent with everything else]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
fs/xfs/xfs_file.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_iops.c