Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 940
b: refs/heads/master
c: 3ba0815
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Moore authored and Christoph Hellwig committed May 5, 2005
1 parent c18d421 commit 5029252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f243766660da3df4a75ea1892c310d6080646c8
refs/heads/master: 3ba0815a4b0709ef5e7b481067573d10806bbe2c
5 changes: 4 additions & 1 deletion trunk/fs/xfs/linux-2.6/xfs_aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,12 @@ xfs_page_state_convert(
__uint64_t end_offset;
pgoff_t end_index, last_index, tlast;
int len, err, i, cnt = 0, uptodate = 1;
int flags = startio ? 0 : BMAPI_TRYLOCK;
int flags;
int page_dirty, delalloc = 0;

/* wait for other IO threads? */
flags = (startio && wbc->sync_mode != WB_SYNC_NONE) ? 0 : BMAPI_TRYLOCK;

/* Is this page beyond the end of the file? */
offset = i_size_read(inode);
end_index = offset >> PAGE_CACHE_SHIFT;
Expand Down

0 comments on commit 5029252

Please sign in to comment.