Files
linux-apfs/fs
Cesar Eduardo Barros cc9106247d fs/partitions: use ADDPART_FLAG_RAID instead of magic number
ADDPART_FLAG_RAID was introduced in commit d18d768, and most places were
converted to use it instead of a hardcoded value. However, some places seem
to have been missed.

Change all of them to the symbolic names via the following semantic patch:

@@
struct parsed_partitions *state;
expression E;
@@
(
- state->parts[E].flags = 1
+ state->parts[E].flags = ADDPART_FLAG_RAID
|
- state->parts[E].flags |= 1
+ state->parts[E].flags |= ADDPART_FLAG_RAID
|
- state->parts[E].flags = 2
+ state->parts[E].flags = ADDPART_FLAG_WHOLEDISK
|
- state->parts[E].flags |= 2
+ state->parts[E].flags |= ADDPART_FLAG_WHOLEDISK
)

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-05-21 18:31:21 -04:00
..
2010-04-22 11:42:00 +02:00
2010-05-21 18:31:18 -04:00
2010-04-30 14:52:51 -05:00
2010-05-21 18:31:18 -04:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:20 -04:00
2010-05-21 18:31:20 -04:00
2010-05-21 18:31:20 -04:00
2010-04-23 02:08:44 +02:00
2010-05-21 18:31:16 -04:00
2010-05-21 09:37:30 -07:00
2010-05-21 18:31:19 -04:00
2010-01-26 22:22:26 -05:00
2010-05-15 07:16:33 -04:00
2010-04-29 15:12:18 +03:00
2010-05-21 18:31:19 -04:00
2009-12-16 07:20:13 -08:00
2010-03-06 11:26:29 -08:00
2010-03-19 08:05:10 +01:00
2010-05-21 18:31:16 -04:00
2010-05-21 18:31:16 -04:00
2009-12-17 04:52:13 -05:00
2010-05-21 18:31:16 -04:00
2010-05-11 17:43:58 +02:00
2010-04-21 16:19:29 -07:00
2010-03-06 11:26:29 -08:00
2010-05-21 18:31:16 -04:00
2010-03-08 16:55:37 +01:00
2010-05-21 18:31:17 -04:00
2010-05-18 08:57:00 +10:00
2010-05-21 18:31:17 -04:00
2009-12-17 10:51:40 -05:00
2010-03-12 15:52:32 -08:00
2010-05-21 18:31:17 -04:00
2010-05-21 18:31:21 -04:00