btrfs-progs: switch is_btrfs to bool in check_mounted_where

The variable 'is_btrfs' is declared as an integer but should be a boolean
instead.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Anand Jain 2023-06-13 18:26:52 +08:00 committed by David Sterba
parent 177a2eeadb
commit 626d53fc75

View File

@ -57,7 +57,7 @@ int check_mounted_where(int fd, const char *file, char *where, int size,
{ {
int ret; int ret;
u64 total_devs = 1; u64 total_devs = 1;
int is_btrfs; bool is_btrfs;
struct btrfs_fs_devices *fs_devices_mnt = NULL; struct btrfs_fs_devices *fs_devices_mnt = NULL;
FILE *f; FILE *f;
struct mntent *mnt; struct mntent *mnt;