diff options
| author | John Garry <[email protected]> | 2025-05-07 21:18:23 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2025-05-07 21:25:30 +0000 |
| commit | 5af9f5508477f088320fdce6c0fd69f960aee319 (patch) | |
| tree | c868735b64e63e8a6ddb9f618aef3baca4572b70 /fs/xfs/xfs_inode.h | |
| parent | xfs: only call xfs_setsize_buftarg once per buffer target (diff) | |
| download | kernel-5af9f5508477f088320fdce6c0fd69f960aee319.tar.gz kernel-5af9f5508477f088320fdce6c0fd69f960aee319.zip | |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
[djwong: add an underscore to be consistent with everything else]
Signed-off-by: Darrick J. Wong <[email protected]>
Signed-off-by: John Garry <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
| -rw-r--r-- | fs/xfs/xfs_inode.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index eae0159983ca..d3471a7418b9 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -356,9 +356,7 @@ static inline bool xfs_inode_has_bigrtalloc(const struct xfs_inode *ip) (XFS_IS_REALTIME_INODE(ip) ? \ (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp) -static inline bool -xfs_inode_can_atomicwrite( - struct xfs_inode *ip) +static inline bool xfs_inode_can_hw_atomic_write(const struct xfs_inode *ip) { struct xfs_mount *mp = ip->i_mount; struct xfs_buftarg *target = xfs_inode_buftarg(ip); |
