Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260854
b: refs/heads/master
c: 3b60918
h: refs/heads/master
v: v3
  • Loading branch information
Peng Tao authored and Trond Myklebust committed Jul 15, 2011
1 parent aefde99 commit 2c1dd39
Show file tree
Hide file tree
Showing 3 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: 6e4efd568574221840ee8dd86f176dc977c1330c
refs/heads/master: 3b6091846d5b6113d695c79caec7cc96b62d469b
3 changes: 2 additions & 1 deletion trunk/fs/nfs/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,13 @@ static int nfs_pagein_one(struct nfs_pageio_descriptor *desc)
struct nfs_read_data *data;
struct list_head *head = &desc->pg_list;
struct pnfs_layout_segment *lseg = desc->pg_lseg;
int ret = -ENOMEM;
int ret = 0;

data = nfs_readdata_alloc(nfs_page_array_len(desc->pg_base,
desc->pg_count));
if (!data) {
nfs_async_read_error(head);
ret = -ENOMEM;
goto out;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ static int nfs_flush_one(struct nfs_pageio_descriptor *desc)
struct nfs_write_data *data;
struct list_head *head = &desc->pg_list;
struct pnfs_layout_segment *lseg = desc->pg_lseg;
int ret;
int ret = 0;

data = nfs_writedata_alloc(nfs_page_array_len(desc->pg_base,
desc->pg_count));
Expand Down

0 comments on commit 2c1dd39

Please sign in to comment.