Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218614
b: refs/heads/master
c: 0be8557
h: refs/heads/master
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Oct 28, 2010
1 parent f060b08 commit 07052a2
Show file tree
Hide file tree
Showing 3 changed files with 3 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: d57af9b2142f31a39dcfdeb30776baadfc802827
refs/heads/master: 0be8557bcd34887d5a42c01c5659cab5ecf99f13
7 changes: 1 addition & 6 deletions trunk/fs/fuse/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1334,12 +1334,7 @@ static int fuse_notify_store(struct fuse_conn *fc, unsigned int size,

static void fuse_retrieve_end(struct fuse_conn *fc, struct fuse_req *req)
{
int i;

for (i = 0; i < req->num_pages; i++) {
struct page *page = req->pages[i];
page_cache_release(page);
}
release_pages(req->pages, req->num_pages, 0);
}

static int fuse_retrieve(struct fuse_conn *fc, struct inode *inode,
Expand Down
1 change: 1 addition & 0 deletions trunk/mm/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ void release_pages(struct page **pages, int nr, int cold)

pagevec_free(&pages_to_free);
}
EXPORT_SYMBOL(release_pages);

/*
* The pages which we're about to release may be in the deferred lru-addition
Expand Down

0 comments on commit 07052a2

Please sign in to comment.