diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_lowlevel.c | 13 | ||||
-rw-r--r-- | lib/fuse_versionscript | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 5568786..13c05c6 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2973,6 +2973,19 @@ int fuse_lowlevel_notify_inval_inode(struct fuse_session *se, fuse_ino_t ino, return send_notify_iov(se, FUSE_NOTIFY_INVAL_INODE, iov, 2); } +int fuse_lowlevel_notify_increment_epoch(struct fuse_session *se) +{ + struct iovec iov[1]; + + if (!se) + return -EINVAL; + + if (se->conn.proto_minor < 44) + return -ENOSYS; + + return send_notify_iov(se, FUSE_NOTIFY_INC_EPOCH, iov, 1); +} + /** * Notify parent attributes and the dentry matching parent/name * diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript index ab57d7c..2d8884d 100644 --- a/lib/fuse_versionscript +++ b/lib/fuse_versionscript @@ -208,6 +208,7 @@ FUSE_3.18 { fuse_set_feature_flag; fuse_unset_feature_flag; fuse_get_feature_flag; + fuse_lowlevel_notify_increment_epoch; # Not part of public API, for internal test use only fuse_convert_to_conn_want_ext; |