summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <behlendo@myhost.(none)>2010-11-08 21:32:47 -0800
committerBrian Behlendorf <[email protected]>2010-11-09 10:18:01 -0800
commit1e18307b6109a5b2491cd519a312b870b2e7522b (patch)
treebf86cff1bbfb189f276d01f91ce85da1bcc82b0d
parentc11908c75d72d291ea451fb2c35f05dafc8c9647 (diff)
Fix incorrect krw_type_t type
Flagged by the default compile options on archlinux 2010.05, we should be using the krw_t type not the krw_type_t type in the private data. module/splat/splat-rwlock.c: In function ‘splat_rwlock_test4_func’: module/splat/splat-rwlock.c:432:6: warning: case value ‘1’ not in enumerated type ‘krw_type_t’
-rw-r--r--module/splat/splat-rwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/splat/splat-rwlock.c b/module/splat/splat-rwlock.c
index dc560c2b9..2b9dee939 100644
--- a/module/splat/splat-rwlock.c
+++ b/module/splat/splat-rwlock.c
@@ -73,7 +73,7 @@ typedef struct rw_priv {
int rw_waiters;
int rw_release;
int rw_rc;
- krw_type_t rw_type;
+ krw_t rw_type;
} rw_priv_t;
typedef struct rw_thr {