diff options
| author | 2025-06-19 19:18:04 +0800 | |
|---|---|---|
| committer | 2025-06-23 12:45:13 +0200 | |
| commit | 562108d56bd9b93bec64fe9333a805b129c13001 (patch) | |
| tree | 326243af21dec9f2d47224d156e5f4b4c8fd154f /net/unix/af_unix.c | |
| parent | fs: introduce FALLOC_FL_WRITE_ZEROES to fallocate (diff) | |
| download | wireguard-linux-562108d56bd9b93bec64fe9333a805b129c13001.tar.xz wireguard-linux-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 <yi.zhang@huawei.com>
Link: https://lore.kernel.org/20250619111806.3546162-8-yi.zhang@huaweicloud.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
