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/btrfs_inode.h | |
| parent | btrfs: move ref-verify under CONFIG_BTRFS_DEBUG (diff) | |
| download | linux-67e78f983e6a1208c2f52adad4b06a388f4a15a5.tar.gz linux-67e78f983e6a1208c2f52adad4b06a388f4a15a5.zip | |
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/btrfs_inode.h')
| -rw-r--r-- | fs/btrfs/btrfs_inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 0387b9f43a52..df3445448b7d 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h @@ -558,7 +558,7 @@ int btrfs_unlink_inode(struct btrfs_trans_handle *trans, const struct fscrypt_str *name); int btrfs_add_link(struct btrfs_trans_handle *trans, struct btrfs_inode *parent_inode, struct btrfs_inode *inode, - const struct fscrypt_str *name, int add_backref, u64 index); + const struct fscrypt_str *name, bool add_backref, u64 index); int btrfs_delete_subvolume(struct btrfs_inode *dir, struct dentry *dentry); int btrfs_truncate_block(struct btrfs_inode *inode, u64 offset, u64 start, u64 end); |
