diff options
author | Christoph Hellwig <hch@lst.de> | 2024-04-29 08:15:24 +0200 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-04-30 09:45:19 +0530 |
commit | 9d06960341ec5f45d3d65bdead3fbce753455e8a (patch) | |
tree | 767b84af6811fad905ecef85f52e6c4bfb5b9cc1 /fs/xfs/libxfs/xfs_inode_fork.c | |
parent | 04c609e6e5066294b60329420d3711e990c47abf (diff) |
xfs: don't open code XFS_FILBLKS_MIN in xfs_bmapi_write
XFS_FILBLKS_MIN uses min_t and thus does the comparison using the correct
xfs_filblks_t type. Use it in xfs_bmapi_write and slightly adjust the
comment document th potential pitfall to take account of this
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions