Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175997
b: refs/heads/master
c: 190f38e
h: refs/heads/master
i:
  175995: da8c4ec
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Dec 10, 2009
1 parent 5fe30b3 commit 38d7052
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 053e324f67b9921fe7de0c4cbc720d29cb4bf207
refs/heads/master: 190f38e5cedc910940b1da9015f00458c18f97b4
5 changes: 3 additions & 2 deletions trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -1611,15 +1611,16 @@ int nfs_migrate_page(struct address_space *mapping, struct page *newpage,
if (ret)
goto out_unlock;
page_cache_get(newpage);
spin_lock(&mapping->host->i_lock);
req->wb_page = newpage;
SetPagePrivate(newpage);
set_page_private(newpage, page_private(page));
set_page_private(newpage, (unsigned long)req);
ClearPagePrivate(page);
set_page_private(page, 0);
spin_unlock(&mapping->host->i_lock);
page_cache_release(page);
out_unlock:
nfs_clear_page_tag_locked(req);
nfs_release_request(req);
out:
return ret;
}
Expand Down

0 comments on commit 38d7052

Please sign in to comment.