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
Kirill Smelkov
linux
Commits
308528a4
Commit
308528a4
authored
Oct 13, 2002
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge jfs@jfs.bkbits.net:linux-2.5
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
parents
71660e15
e300ff32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/jfs/jfs_dtree.c
fs/jfs/jfs_dtree.c
+3
-3
No files found.
fs/jfs/jfs_dtree.c
View file @
308528a4
...
@@ -490,11 +490,11 @@ static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn,
...
@@ -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
* 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
dir_table_slot
*
dirtab_slot
)
{
{
struct
metapage
*
mp
=
0
;
struct
metapage
*
mp
=
0
;
...
@@ -2978,7 +2978,7 @@ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
...
@@ -2978,7 +2978,7 @@ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
return
0
;
return
0
;
}
}
repeat:
repeat:
rc
=
get
_index
(
ip
,
dir_index
,
&
dirtab_slot
);
rc
=
read
_index
(
ip
,
dir_index
,
&
dirtab_slot
);
if
(
rc
)
{
if
(
rc
)
{
filp
->
f_pos
=
DIREND
;
filp
->
f_pos
=
DIREND
;
return
rc
;
return
rc
;
...
...
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