diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-24 14:23:13 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-24 14:51:27 +0200 |
commit | fc83143867a37e34a51ce5a6d763b46715abf02d (patch) | |
tree | 95d360098e02b0b6945e0c77648f14985e50f640 | |
parent | 89f2bae00c1b87580f432f9a719ba8998493e6df (diff) |
Renamed notify_inval_inode_fh to invalidate_path
The previous name didn't make much sense.
-rw-r--r-- | example/Makefile.am | 2 | ||||
-rw-r--r-- | example/invalidate_path.c (renamed from example/notify_inval_inode_fh.c) | 4 | ||||
-rw-r--r-- | example/meson.build | 2 | ||||
-rw-r--r-- | test/test_ctests.py | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/example/Makefile.am b/example/Makefile.am index e9a315e..9a3940e 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -D_REENTRANT noinst_HEADERS = ioctl.h noinst_PROGRAMS = passthrough passthrough_fh null hello hello_ll \ ioctl ioctl_client poll poll_client passthrough_ll \ - notify_inval_inode notify_inval_inode_fh \ + notify_inval_inode invalidate_path \ notify_store_retrieve notify_inval_entry \ cuse cuse_client printcap diff --git a/example/notify_inval_inode_fh.c b/example/invalidate_path.c index f37fcef..afa1339 100644 --- a/example/notify_inval_inode_fh.c +++ b/example/invalidate_path.c @@ -19,10 +19,10 @@ * * ## Compilation ## * - * gcc -Wall notify_inval_inode_fh.c `pkg-config fuse3 --cflags --libs` -o notify_inval_inode_fh + * gcc -Wall @file `pkg-config fuse3 --cflags --libs` -o invalidate_path * * ## Source code ## - * \include notify_inval_inode_fh.c + * \include @file */ #define FUSE_USE_VERSION 31 diff --git a/example/meson.build b/example/meson.build index 406c4c4..de2de42 100644 --- a/example/meson.build +++ b/example/meson.build @@ -11,7 +11,7 @@ if not platform.endswith('bsd') endif threaded_examples = [ 'notify_inval_inode', - 'notify_inval_inode_fh', + 'invalidate_path', 'notify_store_retrieve', 'notify_inval_entry', 'poll' ] diff --git a/test/test_ctests.py b/test/test_ctests.py index 2da55e5..469c867 100644 --- a/test/test_ctests.py +++ b/test/test_ctests.py @@ -35,7 +35,7 @@ def test_write_cache(tmpdir, writeback): subprocess.check_call(cmdline) -names = [ 'notify_inval_inode', 'notify_inval_inode_fh' ] +names = [ 'notify_inval_inode', 'invalidate_path' ] if sys.platform == 'linux': names.append('notify_store_retrieve') @pytest.mark.parametrize("name", names) @@ -70,7 +70,7 @@ def test_notify1(tmpdir, name, notify): def test_notify_file_size(tmpdir, notify): mnt_dir = str(tmpdir) cmdline = base_cmdline + \ - [ pjoin(basename, 'example', 'notify_inval_inode_fh'), + [ pjoin(basename, 'example', 'invalidate_path'), '-f', '--update-interval=1', mnt_dir ] if not notify: cmdline.append('--no-notify') |