git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[GFS2] Run through full bitmaps quicker in gfs2_bitfit
[pandora-kernel.git]
/
fs
/
direct-io.c
diff --git
a/fs/direct-io.c
b/fs/direct-io.c
index
b5928a7
..
acf0da1
100644
(file)
--- a/
fs/direct-io.c
+++ b/
fs/direct-io.c
@@
-163,7
+163,7
@@
static int dio_refill_pages(struct dio *dio)
up_read(¤t->mm->mmap_sem);
if (ret < 0 && dio->blocks_available && (dio->rw & WRITE)) {
up_read(¤t->mm->mmap_sem);
if (ret < 0 && dio->blocks_available && (dio->rw & WRITE)) {
- struct page *page = ZERO_PAGE(
dio->curr_user_address
);
+ struct page *page = ZERO_PAGE(
0
);
/*
* A memory fault, but the filesystem has some outstanding
* mapped blocks. We need to use those blocks up to avoid
/*
* A memory fault, but the filesystem has some outstanding
* mapped blocks. We need to use those blocks up to avoid
@@
-763,7
+763,7
@@
static void dio_zero_block(struct dio *dio, int end)
this_chunk_bytes = this_chunk_blocks << dio->blkbits;
this_chunk_bytes = this_chunk_blocks << dio->blkbits;
- page = ZERO_PAGE(
dio->curr_user_address
);
+ page = ZERO_PAGE(
0
);
if (submit_page_section(dio, page, 0, this_chunk_bytes,
dio->next_block_for_io))
return;
if (submit_page_section(dio, page, 0, this_chunk_bytes,
dio->next_block_for_io))
return;