Displaying 1 result from an estimated 1 matches for "prepare_uptodate_pag".
Did you mean:
prepare_uptodate_page
2011 Jul 12
0
[PATCH] Btrfs: Remove unused variable 'last_index' in file.c
...off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
---
fs/btrfs/file.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index bd6bbb8..b061de0 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1059,7 +1059,7 @@ static int prepare_uptodate_page(struct page *page, u64 pos)
static noinline int prepare_pages(struct btrfs_root *root, struct file *file,
struct page **pages, size_t num_pages,
loff_t pos, unsigned long first_index,
- unsigned long last_index, size_t write_bytes)
+ size_t write_bytes)
{
struct extent_state *c...