Commit 9d06960
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 <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>1 parent 04c609e commit 9d06960
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4528 | 4528 | | |
4529 | 4529 | | |
4530 | 4530 | | |
4531 | | - | |
| 4531 | + | |
| 4532 | + | |
4532 | 4533 | | |
4533 | | - | |
4534 | | - | |
4535 | | - | |
4536 | | - | |
| 4534 | + | |
4537 | 4535 | | |
4538 | | - | |
4539 | 4536 | | |
4540 | 4537 | | |
4541 | 4538 | | |
| |||
0 commit comments