Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242414
b: refs/heads/master
c: 5917ce8
h: refs/heads/master
v: v3
  • Loading branch information
Fred Isaman authored and Trond Myklebust committed Mar 23, 2011
1 parent ef05941 commit fda6d5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 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: 64bfeb49bd1c2351a8415f7fe6b25eef208872a5
refs/heads/master: 5917ce8440ba0b3f2adee613b5f1258ac5efff02
12 changes: 9 additions & 3 deletions trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,10 +1409,9 @@ static void nfs_commit_done(struct rpc_task *task, void *calldata)
return;
}

static void nfs_commit_release(void *calldata)
static void nfs_commit_release_pages(struct nfs_write_data *data)
{
struct nfs_write_data *data = calldata;
struct nfs_page *req;
struct nfs_page *req;
int status = data->task.tk_status;

while (!list_empty(&data->pages)) {
Expand Down Expand Up @@ -1446,6 +1445,13 @@ static void nfs_commit_release(void *calldata)
next:
nfs_clear_page_tag_locked(req);
}
}

static void nfs_commit_release(void *calldata)
{
struct nfs_write_data *data = calldata;

nfs_commit_release_pages(data);
nfs_commit_clear_lock(NFS_I(data->inode));
nfs_commitdata_release(calldata);
}
Expand Down

0 comments on commit fda6d5c

Please sign in to comment.