diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-11-29 09:14:28 +0000 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-11-29 09:14:28 +0000 |
commit | 014960bc77fbd3376354c2bef744b546075c0ccc (patch) | |
tree | a00f9632e6a03018cce3c697cc31f4bf92d110fb /lib | |
parent | ada08d50a647adb37c77f2106e7adc0db6ab93d5 (diff) | |
download | libfuse-014960bc77fbd3376354c2bef744b546075c0ccc.tar.gz |
Kill off some proto_major < 6 checks (#476)
fuse_init already refuses to start if we're on major < 7 ,
so we can kill off checks for old major versions.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_lowlevel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 6eb949f..3671385 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2229,7 +2229,7 @@ int fuse_lowlevel_notify_inval_inode(struct fuse_session *se, fuse_ino_t ino, if (!se) return -EINVAL; - if (se->conn.proto_major < 6 || se->conn.proto_minor < 12) + if (se->conn.proto_minor < 12) return -ENOSYS; outarg.ino = ino; @@ -2251,7 +2251,7 @@ int fuse_lowlevel_notify_inval_entry(struct fuse_session *se, fuse_ino_t parent, if (!se) return -EINVAL; - if (se->conn.proto_major < 6 || se->conn.proto_minor < 12) + if (se->conn.proto_minor < 12) return -ENOSYS; outarg.parent = parent; @@ -2276,7 +2276,7 @@ int fuse_lowlevel_notify_delete(struct fuse_session *se, if (!se) return -EINVAL; - if (se->conn.proto_major < 6 || se->conn.proto_minor < 18) + if (se->conn.proto_minor < 18) return -ENOSYS; outarg.parent = parent; @@ -2305,7 +2305,7 @@ int fuse_lowlevel_notify_store(struct fuse_session *se, fuse_ino_t ino, if (!se) return -EINVAL; - if (se->conn.proto_major < 6 || se->conn.proto_minor < 15) + if (se->conn.proto_minor < 15) return -ENOSYS; out.unique = 0; @@ -2383,7 +2383,7 @@ int fuse_lowlevel_notify_retrieve(struct fuse_session *se, fuse_ino_t ino, if (!se) return -EINVAL; - if (se->conn.proto_major < 6 || se->conn.proto_minor < 15) + if (se->conn.proto_minor < 15) return -ENOSYS; rreq = malloc(sizeof(*rreq)); |