diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-17 08:20:09 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-17 08:23:01 -0600 |
commit | 22d109c1bb312dbf321f3d0ab1b0ed94f1a7e304 (patch) | |
tree | 5b4568b1f5dcc6c7080ad51e9597c70ee5591dd9 /drivers/block | |
parent | cad73b2703cff68b140d68221eeecd5a30322b44 (diff) |
nbd: flags is a u32 variable
The flags variable is used as u32 variable. This patch changes the type
to be u32.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 7a3eaaa1cd95..293495a75d3d 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -41,7 +41,7 @@ #include <linux/nbd.h> struct nbd_device { - int flags; + u32 flags; struct socket * sock; /* If == NULL, device is not ready, yet */ int magic; |