diff options
Diffstat (limited to 'example/notify_store_retrieve.c')
-rw-r--r-- | example/notify_store_retrieve.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example/notify_store_retrieve.c b/example/notify_store_retrieve.c index 1298591..7145bf4 100644 --- a/example/notify_store_retrieve.c +++ b/example/notify_store_retrieve.c @@ -132,6 +132,13 @@ static int tfs_stat(fuse_ino_t ino, struct stat *stbuf) { return 0; } +static void tfs_init(void *userdata, struct fuse_conn_info *conn) { + (void)userdata; + + /* Disable the receiving and processing of FUSE_INTERRUPT requests */ + conn->no_interrupt = 1; +} + static void tfs_lookup(fuse_req_t req, fuse_ino_t parent, const char *name) { struct fuse_entry_param e; @@ -304,6 +311,7 @@ static void tfs_destroy(void *userdata) static const struct fuse_lowlevel_ops tfs_oper = { + .init = tfs_init, .lookup = tfs_lookup, .getattr = tfs_getattr, .readdir = tfs_readdir, |