summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-11-25 18:46:16 +0100
committerDavid Sterba <dsterba@suse.cz>2014-12-10 15:01:20 +0100
commit8ef9ac8cda38bda25561c2964f0aa81d8dcdf451 (patch)
tree481399f68e3abd063c13995c332bc8748851f174 /utils.h
parent6715de04d9a707aad5eddaeb65132f0c206c7b5f (diff)
downloadbtrfs-progs-8ef9ac8cda38bda25561c2964f0aa81d8dcdf451.tar.gz
btrfs-progs: basic support for TREE_SEARCH_V2 ioctl
Add the interface and helper that checks if the v2 ioctl is supported. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 6cbb7b8..0464c2d 100644
--- a/utils.h
+++ b/utils.h
@@ -187,4 +187,6 @@ static inline int count_digits(u64 num)
return ret;
}
+int btrfs_tree_search2_ioctl_supported(int fd);
+
#endif