btrfs-progs: unexport btrfs_get_string_for_multiple_profiles
It's used only by the interface functions so does not need to be exported. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
5268a125ad
commit
2432ed89ba
|
@ -1755,7 +1755,7 @@ static void sprint_profiles(char **ptr, u64 profiles)
|
|||
}
|
||||
}
|
||||
|
||||
int btrfs_get_string_for_multiple_profiles(int fd, char **data_ret,
|
||||
static int btrfs_get_string_for_multiple_profiles(int fd, char **data_ret,
|
||||
char **metadata_ret, char **mixed_ret, char **system_ret)
|
||||
{
|
||||
int ret;
|
||||
|
@ -1828,6 +1828,11 @@ int btrfs_get_string_for_multiple_profiles(int fd, char **data_ret,
|
|||
return 1;
|
||||
}
|
||||
|
||||
int btrfs_test_for_multiple_profiles_by_fd(int fd)
|
||||
{
|
||||
return btrfs_get_string_for_multiple_profiles(fd, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
int btrfs_warn_multiple_profiles(int fd)
|
||||
{
|
||||
int ret;
|
||||
|
|
|
@ -137,12 +137,7 @@ u64 rand_u64(void);
|
|||
unsigned int rand_range(unsigned int upper);
|
||||
void init_rand_seed(u64 seed);
|
||||
|
||||
int btrfs_get_string_for_multiple_profiles(int fd, char **data_ret,
|
||||
char **metadata_ret, char **mixed_ret, char **system_ret);
|
||||
static inline int btrfs_test_for_multiple_profiles_by_fd(int fd)
|
||||
{
|
||||
return btrfs_get_string_for_multiple_profiles(fd, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
int btrfs_test_for_multiple_profiles_by_fd(int fd);
|
||||
int btrfs_warn_multiple_profiles(int fd);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue