Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23857
b: refs/heads/master
c: 1dd594b
h: refs/heads/master
i:
  23855: 7981f51
v: v3
  • Loading branch information
Neil Brown authored and Trond Myklebust committed Mar 20, 2006
1 parent 5636575 commit 2ef4ae7
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: cd52ed35535ef443f08bf5cd3331d350272885b8
refs/heads/master: 1dd594b21b2d98e56f2b1fe92bb222276b28de41
5 changes: 4 additions & 1 deletion trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,11 @@ static struct nfs_page * nfs_update_request(struct nfs_open_context* ctx,
spin_unlock(&nfsi->req_lock);
error = nfs_wait_on_request(req);
nfs_release_request(req);
if (error < 0)
if (error < 0) {
if (new)
nfs_release_request(new);
return ERR_PTR(error);
}
continue;
}
spin_unlock(&nfsi->req_lock);
Expand Down

0 comments on commit 2ef4ae7

Please sign in to comment.