Commit 34878c84 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] isofs: add static

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fa963aa3
...@@ -160,8 +160,10 @@ int get_rock_ridge_filename(struct iso_directory_record * de, ...@@ -160,8 +160,10 @@ int get_rock_ridge_filename(struct iso_directory_record * de,
return 0; return 0;
} }
int parse_rock_ridge_inode_internal(struct iso_directory_record * de, static int
struct inode * inode,int regard_xa){ parse_rock_ridge_inode_internal(struct iso_directory_record *de,
struct inode *inode, int regard_xa)
{
int len; int len;
unsigned char * chr; unsigned char * chr;
int symlink_len = 0; int symlink_len = 0;
...@@ -175,7 +177,7 @@ int parse_rock_ridge_inode_internal(struct iso_directory_record * de, ...@@ -175,7 +177,7 @@ int parse_rock_ridge_inode_internal(struct iso_directory_record * de,
chr+=14; chr+=14;
len-=14; len-=14;
if (len<0) len=0; if (len<0) len=0;
}; }
repeat: repeat:
{ {
...@@ -435,9 +437,9 @@ int parse_rock_ridge_inode(struct iso_directory_record * de, ...@@ -435,9 +437,9 @@ int parse_rock_ridge_inode(struct iso_directory_record * de,
&&(ISOFS_SB(inode->i_sb)->s_rock==2)) &&(ISOFS_SB(inode->i_sb)->s_rock==2))
{ {
result=parse_rock_ridge_inode_internal(de,inode,14); result=parse_rock_ridge_inode_internal(de,inode,14);
}; }
return result; return result;
}; }
/* readpage() for symlinks: reads symlink contents into the page and either /* readpage() for symlinks: reads symlink contents into the page and either
makes it uptodate and returns 0 or returns error (-EIO) */ makes it uptodate and returns 0 or returns error (-EIO) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment