Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e50e1b0f
Commit
e50e1b0f
authored
Oct 15, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://jfs.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
5d6af116
d5e567ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
fs/jfs/jfs_dtree.c
fs/jfs/jfs_dtree.c
+3
-3
fs/jfs/jfs_mount.c
fs/jfs/jfs_mount.c
+2
-2
No files found.
fs/jfs/jfs_dtree.c
View file @
e50e1b0f
...
...
@@ -490,11 +490,11 @@ static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn,
}
/*
*
get
_index()
*
read
_index()
*
* reads a directory table slot
*/
static
int
get
_index
(
struct
inode
*
ip
,
u32
index
,
static
int
read
_index
(
struct
inode
*
ip
,
u32
index
,
struct
dir_table_slot
*
dirtab_slot
)
{
struct
metapage
*
mp
=
0
;
...
...
@@ -2978,7 +2978,7 @@ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
return
0
;
}
repeat:
rc
=
get
_index
(
ip
,
dir_index
,
&
dirtab_slot
);
rc
=
read
_index
(
ip
,
dir_index
,
&
dirtab_slot
);
if
(
rc
)
{
filp
->
f_pos
=
DIREND
;
return
rc
;
...
...
fs/jfs/jfs_mount.c
View file @
e50e1b0f
...
...
@@ -478,12 +478,12 @@ int readSuper(struct super_block *sb, struct buffer_head **bpp)
{
/* read in primary superblock */
*
bpp
=
sb_bread
(
sb
,
SUPER1_OFF
>>
sb
->
s_blocksize_bits
);
if
(
bpp
)
if
(
*
bpp
)
return
0
;
/* read in secondary/replicated superblock */
*
bpp
=
sb_bread
(
sb
,
SUPER2_OFF
>>
sb
->
s_blocksize_bits
);
if
(
bpp
)
if
(
*
bpp
)
return
0
;
return
-
EIO
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment