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
1d42a0ec
Commit
1d42a0ec
authored
May 04, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git/
parents
836eeed6
6b6bf510
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/jfs/jfs_xtree.c
fs/jfs/jfs_xtree.c
+3
-3
No files found.
fs/jfs/jfs_xtree.c
View file @
1d42a0ec
/*
* Copyright (C) International Business Machines Corp., 2000-200
4
* Copyright (C) International Business Machines Corp., 2000-200
5
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -688,7 +688,7 @@ static int xtSearch(struct inode *ip, s64 xoff, s64 *nextp,
/* search hit - internal page:
* descend/search its child page
*/
if
(
index
<
p
->
header
.
nextindex
-
1
)
if
(
index
<
le16_to_cpu
(
p
->
header
.
nextindex
)
-
1
)
next
=
offsetXAD
(
&
p
->
xad
[
index
+
1
]);
goto
next
;
}
...
...
@@ -705,7 +705,7 @@ static int xtSearch(struct inode *ip, s64 xoff, s64 *nextp,
* base is the smallest index with key (Kj) greater than
* search key (K) and may be zero or maxentry index.
*/
if
(
base
<
p
->
header
.
nextindex
)
if
(
base
<
le16_to_cpu
(
p
->
header
.
nextindex
)
)
next
=
offsetXAD
(
&
p
->
xad
[
base
]);
/*
* search miss - leaf page:
...
...
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