On Thu, Dec 22, 2016 at 11:15 AM, Jan Kara <jack@xxxxxxx> wrote: > Pass index acquired from srcu_read_lock into ->handle_event() handler so > that it can release and reacquire SRCU lock via > fsnotify_prepare_user_wait() and fsnotify_finish_user_wait() functions. > These functions also make sure current marks are appropriately pinned so > that iteration protected by srcu in fsnotify() stays safe. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Reviewed-by: Amir Goldstein <amir73il@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html