Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53515
b: refs/heads/master
c: 724c439
h: refs/heads/master
i:
  53513: 5643ff5
  53511: cf86db5
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed May 1, 2007
1 parent d442a84 commit 53be5b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 8d5658c949e6d89edc579a1f112aeee3bc232a8e
refs/heads/master: 724c439c204b12a3537b71289fb4c0a42c3aa566
6 changes: 1 addition & 5 deletions trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,18 +1315,14 @@ long nfs_sync_mapping_wait(struct address_space *mapping, struct writeback_contr
how &= ~FLUSH_NOCOMMIT;
spin_lock(&nfsi->req_lock);
do {
wbc->pages_skipped = 0;
ret = nfs_wait_on_requests_locked(inode, idx_start, npages);
if (ret != 0)
continue;
if (nocommit)
break;
pages = nfs_scan_commit(inode, &head, idx_start, npages);
if (pages == 0) {
if (wbc->pages_skipped != 0)
continue;
if (pages == 0)
break;
}
if (how & FLUSH_INVALIDATE) {
spin_unlock(&nfsi->req_lock);
nfs_cancel_commit_list(&head);
Expand Down

0 comments on commit 53be5b8

Please sign in to comment.