aboutsummaryrefslogtreecommitdiffstats
path: root/fs/isofs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-06-21 17:16:45 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 19:07:37 -0700
commit04f7aa9c7dc615c690cede9a80c83625ad2efef7 (patch)
tree5722a64ef5bc7ea521e1849d9e239a4db993c5ae /fs/isofs
parent[PATCH] rock: remove CONTINUE_DECLS (diff)
downloadlinux-dev-04f7aa9c7dc615c690cede9a80c83625ad2efef7.tar.xz
linux-dev-04f7aa9c7dc615c690cede9a80c83625ad2efef7.zip
[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>
Diffstat (limited to 'fs/isofs')
-rw-r--r--fs/isofs/rock.c17
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)
return 0;
}
-#define CHECK_CE \
- {cont_extent = isonum_733(rr->u.CE.extent); \
- cont_offset = isonum_733(rr->u.CE.offset); \
- cont_size = isonum_733(rr->u.CE.size);}
-
#define SETUP_ROCK_RIDGE(DE,CHR,LEN) \
{LEN= sizeof(struct iso_directory_record) + DE->name_len[0]; \
if(LEN & 1) LEN++; \
@@ -126,7 +121,9 @@ repeat:
goto out;
break;
case SIG('C', 'E'):
- CHECK_CE;
+ cont_extent = isonum_733(rr->u.CE.extent);
+ cont_offset = isonum_733(rr->u.CE.offset);
+ cont_size = isonum_733(rr->u.CE.size);
break;
case SIG('N', 'M'):
if (truncate)
@@ -223,7 +220,9 @@ repeat:
goto out;
break;
case SIG('C', 'E'):
- CHECK_CE;
+ cont_extent = isonum_733(rr->u.CE.extent);
+ cont_offset = isonum_733(rr->u.CE.offset);
+ cont_size = isonum_733(rr->u.CE.size);
break;
case SIG('E', 'R'):
ISOFS_SB(inode->i_sb)->s_rock = 1;
@@ -592,7 +591,9 @@ repeat:
break;
case SIG('C', 'E'):
/* This tells is if there is a continuation record */
- CHECK_CE;
+ cont_extent = isonum_733(rr->u.CE.extent);
+ cont_offset = isonum_733(rr->u.CE.offset);
+ cont_size = isonum_733(rr->u.CE.size);
default:
break;
}