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
89c07d60
Commit
89c07d60
authored
Oct 09, 2002
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFS: change name of get_index() to read_index()
get_index conflicts with a symbol in a mips include file.
parent
8e12e1f9
Changes
1
Hide 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 @
89c07d60
...
...
@@ -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
;
...
...
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