diff options
| author | Zhang Yi <[email protected]> | 2025-06-19 11:18:04 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-06-23 10:45:13 +0000 |
| commit | 562108d56bd9b93bec64fe9333a805b129c13001 (patch) | |
| tree | 326243af21dec9f2d47224d156e5f4b4c8fd154f /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | fs: introduce FALLOC_FL_WRITE_ZEROES to fallocate (diff) | |
| download | kernel-562108d56bd9b93bec64fe9333a805b129c13001.tar.gz kernel-562108d56bd9b93bec64fe9333a805b129c13001.zip | |
block: factor out common part in blkdev_fallocate()
Only the flags passed to blkdev_issue_zeroout() differ among the two
zeroing branches in blkdev_fallocate(). Therefore, do cleanup by
factoring them out.
Signed-off-by: Zhang Yi <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Martin K. Petersen" <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
