notify_store_retrieve(): fix race on unmount
authorNikolaus Rath <Nikolaus@rath.org>
Wed, 31 May 2017 20:43:54 +0000 (13:43 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 31 May 2017 20:43:54 +0000 (13:43 -0700)
commit8d092c2be9083319e1c9e05dd5da1e9b7caf9fe6
tree34c45386cc36968c365d60b26f1d12531bbbf521
parent6b8dddbd8ec0673c043efcb1f4d45bb49103146d
notify_store_retrieve(): fix race on unmount

update_fs_loop() is still running when the filesystem unmounts,
but it that case calls to fuse_lowlevel_notify_* will fail.

Fixes: #105.
example/notify_store_retrieve.c