Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2548
b: refs/heads/master
c: a40ea8f
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 22, 2005
1 parent fa65a56 commit e144f0e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12121714fbf36023d5892034d0c97df54a451543
refs/heads/master: a40ea8f22e59c038ffdf219251a67311b9f6e362
24 changes: 12 additions & 12 deletions trunk/fs/isofs/rock.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ static int check_sp(struct rock_ridge *rr, struct inode *inode)
return 0;
}

/* We define a series of macros because each function must do exactly the
same thing in certain places. We use the macros to ensure that everything
is done correctly */

#define CONTINUE_DECLS \
int cont_extent = 0, cont_offset = 0, cont_size = 0; \
void *buffer = NULL

#define CHECK_CE \
{cont_extent = isonum_733(rr->u.CE.extent); \
cont_offset = isonum_733(rr->u.CE.offset); \
Expand Down Expand Up @@ -98,7 +90,10 @@ int get_rock_ridge_filename(struct iso_directory_record *de,
{
int len;
unsigned char *chr;
CONTINUE_DECLS;
int cont_extent = 0;
int cont_offset = 0;
int cont_size = 0;
void *buffer = NULL;
struct rock_ridge *rr;
int sig;
int retnamlen = 0;
Expand Down Expand Up @@ -188,8 +183,10 @@ parse_rock_ridge_inode_internal(struct iso_directory_record *de,
struct inode *reloc;
struct rock_ridge *rr;
int rootflag;

CONTINUE_DECLS;
int cont_extent = 0;
int cont_offset = 0;
int cont_size = 0;
void *buffer = NULL;

if (!ISOFS_SB(inode->i_sb)->s_rock)
return 0;
Expand Down Expand Up @@ -532,7 +529,10 @@ static int rock_ridge_symlink_readpage(struct file *file, struct page *page)
char *rpnt = link;
unsigned char *pnt;
struct iso_directory_record *raw_inode;
CONTINUE_DECLS;
int cont_extent = 0;
int cont_offset = 0;
int cont_size = 0;
void *buffer = NULL;
unsigned long block, offset;
int sig;
int len;
Expand Down

0 comments on commit e144f0e

Please sign in to comment.