Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294566
b: refs/heads/master
c: c4f1b62
h: refs/heads/master
v: v3
  • Loading branch information
Fred Isaman authored and Trond Myklebust committed Mar 20, 2012
1 parent 5264d27 commit cdbf772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 540a0f7584169651f485e8ab67461fcb06934e38
refs/heads/master: c4f1b62a4b50a01e8d820717906b674807ef9ca3
5 changes: 1 addition & 4 deletions trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,12 +595,9 @@ nfs_scan_commit(struct inode *inode, struct list_head *dst)
spin_lock(&inode->i_lock);
if (nfsi->ncommit > 0) {
const int max = INT_MAX;
int pnfs_ret;

ret = nfs_scan_commit_list(&nfsi->commit_list, dst, max);
pnfs_ret = pnfs_scan_commit_lists(inode, max - ret);
ret += pnfs_ret;
nfsi->ncommit -= ret;
ret += pnfs_scan_commit_lists(inode, max - ret);
}
spin_unlock(&inode->i_lock);
return ret;
Expand Down

0 comments on commit cdbf772

Please sign in to comment.