Remove the extra parenthesis from the cv_init() macro. They are not

necessary because we already use parenthesis in zfs_cv_init().

This fixes a long standing bug where there would be an extra ")" at the
end of the string. This extra parenthesis would show up in the WCHAN of
the process (top, stty status, etc.).
This commit is contained in:
Rui Paulo 2013-03-03 06:42:36 +00:00
parent 0b62a02269
commit e0dffa2de2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247684

View File

@ -55,7 +55,7 @@ typedef enum {
_name = #cv; \
cv_init((cv), _name); \
} while (0)
#define cv_init(cv, name, type, arg) zfs_cv_init((cv), (name), (type), (arg))
#define cv_init(cv, name, type, arg) zfs_cv_init(cv, name, type, arg)
#endif /* _KERNEL */