File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -291,8 +291,8 @@ static int do_balance_v1(int fd)
291
291
}
292
292
293
293
enum {
294
- BALANCE_START_FILTERS = 1 << 0 ,
295
- BALANCE_START_NOWARN = 1 << 1
294
+ BALANCE_START_FILTERS = 1U << 0 ,
295
+ BALANCE_START_NOWARN = 1U << 1
296
296
};
297
297
298
298
static int do_balance (const char * path , struct btrfs_ioctl_balance_args * args ,
Original file line number Diff line number Diff line change 18
18
#define __BTRFS_COMMANDS_H__
19
19
20
20
enum {
21
- CMD_HIDDEN = (1 << 0 ), /* should not be in help listings */
22
- CMD_ALIAS = (1 << 1 ), /* alias of next command in cmd_group */
23
- CMD_FORMAT_TEXT = (1 << 2 ), /* output as plain text */
24
- CMD_FORMAT_JSON = (1 << 3 ), /* output in json */
25
- CMD_DRY_RUN = (1 << 4 ), /* Accepts global --dry-run option. */
21
+ CMD_HIDDEN = (1U << 0 ), /* should not be in help listings */
22
+ CMD_ALIAS = (1U << 1 ), /* alias of next command in cmd_group */
23
+ CMD_FORMAT_TEXT = (1U << 2 ), /* output as plain text */
24
+ CMD_FORMAT_JSON = (1U << 3 ), /* output in json */
25
+ CMD_DRY_RUN = (1U << 4 ), /* Accepts global --dry-run option. */
26
26
};
27
27
28
28
#define CMD_FORMAT_MASK (CMD_FORMAT_TEXT | CMD_FORMAT_JSON)
Original file line number Diff line number Diff line change 18
18
#define __BTRFS_PROPS_H__
19
19
20
20
enum prop_object_type {
21
- prop_object_dev = (1 << 0 ),
22
- prop_object_root = (1 << 1 ),
23
- prop_object_subvol = (1 << 2 ),
24
- prop_object_inode = (1 << 3 ),
21
+ prop_object_dev = (1U << 0 ),
22
+ prop_object_root = (1U << 1 ),
23
+ prop_object_subvol = (1U << 2 ),
24
+ prop_object_inode = (1U << 3 ),
25
25
__prop_object_max ,
26
26
};
27
27
You can’t perform that action at this time.
0 commit comments