Skip to content

Commit

Permalink
nbd: flags is a u32 variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Pargmann authored and Jens Axboe committed Aug 17, 2015
1 parent cad73b2 commit 22d109c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/nbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 22d109c

Please sign in to comment.