diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-04-23 15:16:26 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-04-23 15:16:26 +0200 |
commit | 34f55e1dc7f0381229d11c4295a7289ce132d55f (patch) | |
tree | 46786cf333d76717ec36765e7962f541bf69be5f /udev | |
parent | d6f0b22d574c6a5e5f3430be3fc619d4b2f46cd5 (diff) |
libudev: queue - clarify comments
Diffstat (limited to 'udev')
-rw-r--r-- | udev/lib/libudev-queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/lib/libudev-queue.c b/udev/lib/libudev-queue.c index 7550d96370..5cd5ef75c9 100644 --- a/udev/lib/libudev-queue.c +++ b/udev/lib/libudev-queue.c @@ -178,11 +178,11 @@ int udev_queue_get_seqnum_is_finished(struct udev_queue *udev_queue, unsigned lo if (udev_queue == NULL) return -EINVAL; - /* if we have not seen this seqnum, check if it is/was already queued */ + /* did it reach the queue? */ if (seqnum > udev_queue->last_seen_udev_seqnum) if (seqnum > udev_queue_get_udev_seqnum(udev_queue)) return 0; - + /* is it still in the queue? */ snprintf(filename, sizeof(filename), "%s/.udev/queue/%llu", udev_get_dev_path(udev_queue->udev), seqnum); if (lstat(filename, &statbuf) == 0) |