Commit 84e945e3 authored by Paolo 'Blaisorblade' Giarrusso's avatar Paolo 'Blaisorblade' Giarrusso Committed by Linus Torvalds

[PATCH] uml ubd driver: use bitfields where possible

Use bitfields for boolean fields in ubd data structure.
Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e7f6552f
...@@ -174,8 +174,8 @@ struct ubd { ...@@ -174,8 +174,8 @@ struct ubd {
__u64 size; __u64 size;
struct openflags boot_openflags; struct openflags boot_openflags;
struct openflags openflags; struct openflags openflags;
int shared; unsigned shared:1;
int no_cow; unsigned no_cow:1;
struct cow cow; struct cow cow;
struct platform_device pdev; struct platform_device pdev;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment