Skip to content

Commit

Permalink
increase minimum kernel version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Mar 13, 2018
1 parent e839b20 commit c107cea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cntr-fuse"
version = "0.3.4"
version = "0.3.5"
authors = ["Mic92"]
build = "build.rs"
description = "Rust library for filesystems in userspace (FUSE) (fork with functionality needed for the cntr project)"
Expand Down
4 changes: 2 additions & 2 deletions src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ impl<'a> Request<'a> {
let arg: &fuse_init_in = data.fetch();
debug!("INIT({}) kernel: ABI {}.{}, flags {:#x}, max readahead {}", self.header.unique, arg.major, arg.minor, arg.flags, arg.max_readahead);
// We don't support ABI versions before 7.6
if arg.major < 7 || (arg.major == 7 && arg.minor < 6) {
error!("Unsupported FUSE ABI version {}.{}", arg.major, arg.minor);
if arg.major < 7 || (arg.major == 7 && arg.minor < 26) {
error!("Unsupported FUSE ABI version {}.{}. Sorry, your kernel is too old! We need at least linux 4.8", arg.major, arg.minor);
reply.error(EPROTO);
return;
}
Expand Down

0 comments on commit c107cea

Please sign in to comment.