Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ecb78dd7
Commit
ecb78dd7
authored
Sep 17, 2009
by
Andrew Morton
Committed by
james toy
Sep 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
parent
da35a55b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
fs/buffer.c
fs/buffer.c
+14
-0
No files found.
fs/buffer.c
View file @
ecb78dd7
...
...
@@ -1111,6 +1111,20 @@ __getblk_slow(struct block_device *bdev, sector_t block, int size)
return
NULL
;
}
#if (BITS_PER_LONG == 32) && defined(CONFIG_LBD)
if
((
block
>>
(
PAGE_CACHE_SHIFT
-
bdev
->
bd_inode
->
i_blkbits
))
&
0xffffffff00000000UL
)
{
/*
* We'll fail because the block is outside the range
* which a 32-bit pagecache index can address
*/
printk
(
KERN_ERR
"getblk(): sector number too large for 32-bit"
"machines
\n
"
);
dump_stack
();
return
NULL
;
}
#endif
for
(;;)
{
struct
buffer_head
*
bh
;
int
ret
;
...
...
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