mirror of https://github.com/mkerrisk/man-pages
inotify.7: Add further detail to the watch descriptor reuse bug
As well as inotify_rm_watch(), file deletion and unmounting a filesystem can also cause a watch descriptor to be deleted. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
975d7f3751
commit
e530e367e2
|
@ -758,7 +758,9 @@ unread event.
|
|||
As of Linux 3.15, the following bug exists:
|
||||
.\" FIXME https://bugzilla.kernel.org/show_bug.cgi?id=77111
|
||||
When a watch descriptor is removed by calling
|
||||
.BR inotify_rm_watch (2),
|
||||
.BR inotify_rm_watch (2)
|
||||
(or because a watch file is deleted or the filesystem
|
||||
that contains it is unmounted),
|
||||
any pending unread events for that watch descriptor remain available to read.
|
||||
As watch descriptors are subsequently allocated with
|
||||
.BR inotify_add_watch (2),
|
||||
|
|
Loading…
Reference in New Issue