diff options
author | Andrew Morton <akpm@osdl.org> | 2005-06-21 20:16:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 22:07:37 -0400 |
commit | 04f7aa9c7dc615c690cede9a80c83625ad2efef7 (patch) | |
tree | 5722a64ef5bc7ea521e1849d9e239a4db993c5ae | |
parent | a40ea8f22e59c038ffdf219251a67311b9f6e362 (diff) |
[PATCH] rock: remove CHECK_CE
Remove the CHECK_CE macro
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/isofs/rock.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c index 9f2aaa27f8fa..283e92197bb1 100644 --- a/fs/isofs/rock.c +++ b/fs/isofs/rock.c | |||
@@ -37,11 +37,6 @@ static int check_sp(struct rock_ridge *rr, struct inode *inode) | |||
37 | return 0; | 37 | return 0; |
38 | } | 38 | } |
39 | 39 | ||
40 | #define CHECK_CE \ | ||
41 | {cont_extent = isonum_733(rr->u.CE.extent); \ | ||
42 | cont_offset = isonum_733(rr->u.CE.offset); \ | ||
43 | cont_size = isonum_733(rr->u.CE.size);} | ||
44 | |||
45 | #define SETUP_ROCK_RIDGE(DE,CHR,LEN) \ | 40 | #define SETUP_ROCK_RIDGE(DE,CHR,LEN) \ |
46 | {LEN= sizeof(struct iso_directory_record) + DE->name_len[0]; \ | 41 | {LEN= sizeof(struct iso_directory_record) + DE->name_len[0]; \ |
47 | if(LEN & 1) LEN++; \ | 42 | if(LEN & 1) LEN++; \ |
@@ -126,7 +121,9 @@ repeat: | |||
126 | goto out; | 121 | goto out; |
127 | break; | 122 | break; |
128 | case SIG('C', 'E'): | 123 | case SIG('C', 'E'): |
129 | CHECK_CE; | 124 | cont_extent = isonum_733(rr->u.CE.extent); |
125 | cont_offset = isonum_733(rr->u.CE.offset); | ||
126 | cont_size = isonum_733(rr->u.CE.size); | ||
130 | break; | 127 | break; |
131 | case SIG('N', 'M'): | 128 | case SIG('N', 'M'): |
132 | if (truncate) | 129 | if (truncate) |
@@ -223,7 +220,9 @@ repeat: | |||
223 | goto out; | 220 | goto out; |
224 | break; | 221 | break; |
225 | case SIG('C', 'E'): | 222 | case SIG('C', 'E'): |
226 | CHECK_CE; | 223 | cont_extent = isonum_733(rr->u.CE.extent); |
224 | cont_offset = isonum_733(rr->u.CE.offset); | ||
225 | cont_size = isonum_733(rr->u.CE.size); | ||
227 | break; | 226 | break; |
228 | case SIG('E', 'R'): | 227 | case SIG('E', 'R'): |
229 | ISOFS_SB(inode->i_sb)->s_rock = 1; | 228 | ISOFS_SB(inode->i_sb)->s_rock = 1; |
@@ -592,7 +591,9 @@ repeat: | |||
592 | break; | 591 | break; |
593 | case SIG('C', 'E'): | 592 | case SIG('C', 'E'): |
594 | /* This tells is if there is a continuation record */ | 593 | /* This tells is if there is a continuation record */ |
595 | CHECK_CE; | 594 | cont_extent = isonum_733(rr->u.CE.extent); |
595 | cont_offset = isonum_733(rr->u.CE.offset); | ||
596 | cont_size = isonum_733(rr->u.CE.size); | ||
596 | default: | 597 | default: |
597 | break; | 598 | break; |
598 | } | 599 | } |