aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/zvol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c
index 8646892ea..c9c8d2964 100644
--- a/module/zfs/zvol.c
+++ b/module/zfs/zvol.c
@@ -764,7 +764,7 @@ zvol_request(struct request_queue *q)
continue;
}
- switch (rq_data_dir(req)) {
+ switch ((int)rq_data_dir(req)) {
case READ:
zvol_dispatch(zvol_read, req);
break;