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
8c0f1990
Commit
8c0f1990
authored
Dec 03, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUFFER]: Fix int to pointer cast.
parent
f99104c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/buffer.c
fs/buffer.c
+1
-1
No files found.
fs/buffer.c
View file @
8c0f1990
...
@@ -2294,7 +2294,7 @@ int nobh_prepare_write(struct page *page, unsigned from, unsigned to,
...
@@ -2294,7 +2294,7 @@ int nobh_prepare_write(struct page *page, unsigned from, unsigned to,
bh
->
b_page
=
page
;
bh
->
b_page
=
page
;
bh
->
b_blocknr
=
map_bh
.
b_blocknr
;
bh
->
b_blocknr
=
map_bh
.
b_blocknr
;
bh
->
b_size
=
blocksize
;
bh
->
b_size
=
blocksize
;
bh
->
b_data
=
(
char
*
)
block_start
;
bh
->
b_data
=
(
char
*
)
(
long
)
block_start
;
bh
->
b_bdev
=
map_bh
.
b_bdev
;
bh
->
b_bdev
=
map_bh
.
b_bdev
;
bh
->
b_private
=
NULL
;
bh
->
b_private
=
NULL
;
read_bh
[
nr_reads
++
]
=
bh
;
read_bh
[
nr_reads
++
]
=
bh
;
...
...
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