Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40653
b: refs/heads/master
c: 2e99002
h: refs/heads/master
i:
  40651: 9485829
v: v3
  • Loading branch information
OGAWA Hirofumi authored and Linus Torvalds committed Nov 3, 2006
1 parent 8df213e commit 85d91b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 05ac9d4b3d7eac9e8542c83341a0e22d09aecf8f
refs/heads/master: 2e990021bfc65b1a3778479a9e6b4811f9c1ff0e
9 changes: 3 additions & 6 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,14 @@ static int fuse_readpages(struct file *file, struct address_space *mapping,

err = -EIO;
if (is_bad_inode(inode))
goto clean_pages_up;
goto out;

data.file = file;
data.inode = inode;
data.req = fuse_get_req(fc);
err = PTR_ERR(data.req);
if (IS_ERR(data.req))
goto clean_pages_up;
goto out;

err = read_cache_pages(mapping, pages, fuse_readpages_fill, &data);
if (!err) {
Expand All @@ -413,10 +413,7 @@ static int fuse_readpages(struct file *file, struct address_space *mapping,
else
fuse_put_request(fc, data.req);
}
return err;

clean_pages_up:
put_pages_list(pages);
out:
return err;
}

Expand Down

0 comments on commit 85d91b8

Please sign in to comment.