Browse Source

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>
Markus Pargmann 10 years ago
parent
commit
22d109c1bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/block/nbd.c

+ 1 - 1
drivers/block/nbd.c

@@ -41,7 +41,7 @@
 #include <linux/nbd.h>
 #include <linux/nbd.h>
 
 
 struct nbd_device {
 struct nbd_device {
-	int flags;
+	u32 flags;
 	struct socket * sock;	/* If == NULL, device is not ready, yet	*/
 	struct socket * sock;	/* If == NULL, device is not ready, yet	*/
 	int magic;
 	int magic;