diff options
author | Ron Yorston <rmy@pobox.com> | 2018-10-08 08:31:11 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-10-08 08:31:11 +0100 |
commit | eee3722fd32c8c0929cfbacdbe0b6524e1fd645c (patch) | |
tree | c9026160e56f204c42029c705d1d16cecd515244 /util-linux/mkfs_reiser.c | |
parent | 25a1bcec7637e0f0c75d3ae6c09eb78fdb6f0a75 (diff) | |
parent | 349d72c19ced4fae64e8fdd5792b37e78ac2f616 (diff) | |
download | busybox-w32-eee3722fd32c8c0929cfbacdbe0b6524e1fd645c.tar.gz busybox-w32-eee3722fd32c8c0929cfbacdbe0b6524e1fd645c.tar.bz2 busybox-w32-eee3722fd32c8c0929cfbacdbe0b6524e1fd645c.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'util-linux/mkfs_reiser.c')
-rw-r--r-- | util-linux/mkfs_reiser.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/util-linux/mkfs_reiser.c b/util-linux/mkfs_reiser.c index 390aef86c..b4c8dda6f 100644 --- a/util-linux/mkfs_reiser.c +++ b/util-linux/mkfs_reiser.c | |||
@@ -28,22 +28,6 @@ | |||
28 | #include "libbb.h" | 28 | #include "libbb.h" |
29 | #include <linux/fs.h> | 29 | #include <linux/fs.h> |
30 | 30 | ||
31 | char BUG_wrong_field_size(void); | ||
32 | #define STORE_LE(field, value) \ | ||
33 | do { \ | ||
34 | if (sizeof(field) == 4) \ | ||
35 | field = SWAP_LE32(value); \ | ||
36 | else if (sizeof(field) == 2) \ | ||
37 | field = SWAP_LE16(value); \ | ||
38 | else if (sizeof(field) == 1) \ | ||
39 | field = (value); \ | ||
40 | else \ | ||
41 | BUG_wrong_field_size(); \ | ||
42 | } while (0) | ||
43 | |||
44 | #define FETCH_LE32(field) \ | ||
45 | (sizeof(field) == 4 ? SWAP_LE32(field) : BUG_wrong_field_size()) | ||
46 | |||
47 | struct journal_params { | 31 | struct journal_params { |
48 | uint32_t jp_journal_1st_block; /* where does journal start from on its device */ | 32 | uint32_t jp_journal_1st_block; /* where does journal start from on its device */ |
49 | uint32_t jp_journal_dev; /* journal device st_rdev */ | 33 | uint32_t jp_journal_dev; /* journal device st_rdev */ |