]> git.proxmox.com Git - mirror_spl.git/commit
Rename cv_wait_interruptible() to cv_wait_sig()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Jun 2015 16:35:20 +0000 (09:35 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Jun 2015 23:36:12 +0000 (16:36 -0700)
commit2345368646151718fa59986d9e2d9d38bcdecb2c
treeee540a2de408b8c29902658c30e92fb5b804f9d6
parent86c16c59fe0d78d44e9f3ebb10ee740bb1028045
Rename cv_wait_interruptible() to cv_wait_sig()

Commit f752b46e added the cv_wait_interruptible() function to allow
condition variables to be woken by signals.  This function and its
timed wait counterpart should have been named cv_wait_sig() to match
the illumos interface which provides the same functionality.

This patch renames the symbol but leaves a #define compatibility
wrapper in place until the ZFS code can be moved to the correct
name.

This patch also makes a small number of cosmetic changes to make
the condvar source and header cstyle clean.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #456
include/sys/condvar.h
module/spl/spl-condvar.c