inotify: Use fast way of obtaining desired watch descriptor number
This patch makes restore_one_inotify() to request specific
watch descriptor number instead of iterating in (possible)
long-duration loop if system supports it.
Signed-off-by:
Kirill Tkhai <ktkhai@virtuozzo.com>
Showing
Please
register
or
sign in
to comment