diff options
| author | David Sterba <dsterba@suse.com> | 2025-08-13 12:41:11 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-09-22 10:54:32 +0200 |
| commit | 67e78f983e6a1208c2f52adad4b06a388f4a15a5 (patch) | |
| tree | 5fde46e067b8c4ece57ebc80852c1020f22ba2e2 /fs/btrfs/reflink.c | |
| parent | cba7c35fec267188a9708deae857e9116c57497b (diff) | |
btrfs: convert several int parameters to bool
We're almost done cleaning misused int/bool parameters. Convert a bunch
of them, found by manual grepping. Note that btrfs_sync_fs() needs an
int as it's mandated by the struct super_operations prototype.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/reflink.c')
| -rw-r--r-- | fs/btrfs/reflink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/reflink.c b/fs/btrfs/reflink.c index ce25ab7f0e99..0a85e1da9777 100644 --- a/fs/btrfs/reflink.c +++ b/fs/btrfs/reflink.c @@ -23,7 +23,7 @@ static int clone_finish_inode_update(struct btrfs_trans_handle *trans, u64 endoff, const u64 destoff, const u64 olen, - int no_time_update) + bool no_time_update) { int ret; @@ -337,7 +337,7 @@ copy_to_page: */ static int btrfs_clone(struct inode *src, struct inode *inode, const u64 off, const u64 olen, const u64 olen_aligned, - const u64 destoff, int no_time_update) + const u64 destoff, bool no_time_update) { struct btrfs_fs_info *fs_info = inode_to_fs_info(inode); struct btrfs_path *path = NULL; |