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
6fc73da0
Commit
6fc73da0
authored
May 29, 2004
by
Eric Sandeen
Committed by
Nathan Scott
May 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix overflow in mapping test at offsets of 2^63-1 bytes
SGI Modid: xfs-linux:xfs-kern:172649a
parent
94003a2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_aops.c
+1
-1
No files found.
fs/xfs/linux-2.6/xfs_aops.c
View file @
6fc73da0
...
@@ -217,7 +217,7 @@ xfs_offset_to_map(
...
@@ -217,7 +217,7 @@ xfs_offset_to_map(
if
(
full_offset
<
iomapp
->
iomap_offset
)
if
(
full_offset
<
iomapp
->
iomap_offset
)
return
NULL
;
return
NULL
;
if
(
iomapp
->
iomap_offset
+
iomapp
->
iomap_bsize
>
full_offset
)
if
(
iomapp
->
iomap_offset
+
(
iomapp
->
iomap_bsize
-
1
)
>=
full_offset
)
return
iomapp
;
return
iomapp
;
return
NULL
;
return
NULL
;
}
}
...
...
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