diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-09-15 11:23:08 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-09-16 11:22:30 -0700 |
commit | 18a237816419e6f88ab0383b43d8060914d26a9a (patch) | |
tree | 4db49a77f8c2a47cde1f1d4ca1f9a6f6b05fdc35 /lib/rtnetlink-link.c | |
parent | c3b07057fd7f02b4e6bb006bcecff8683237778e (diff) | |
download | openvswitch-18a237816419e6f88ab0383b43d8060914d26a9a.tar.gz |
notifiers: Rename run and wait functions.
It makes more sense to call nln_notifier_run() and
nln_notifier_wait() simply nln_run() and nln_wait() since they
don't operate on notifiers but the entire nln object. This patch
changes the nln and the rtnetlink-link modules to the new
convention.
Diffstat (limited to 'lib/rtnetlink-link.c')
-rw-r--r-- | lib/rtnetlink-link.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rtnetlink-link.c b/lib/rtnetlink-link.c index dbdf724ba..eef07d695 100644 --- a/lib/rtnetlink-link.c +++ b/lib/rtnetlink-link.c @@ -109,19 +109,19 @@ rtnetlink_link_notifier_unregister(struct nln_notifier *notifier) /* Calls all of the registered notifiers, passing along any as-yet-unreported * netdev change events. */ void -rtnetlink_link_notifier_run(void) +rtnetlink_link_run(void) { if (nln) { - nln_notifier_run(nln); + nln_run(nln); } } /* Causes poll_block() to wake up when network device change notifications are * ready. */ void -rtnetlink_link_notifier_wait(void) +rtnetlink_link_wait(void) { if (nln) { - nln_notifier_wait(nln); + nln_wait(nln); } } |