diff options
author | 2017-12-05 17:30:38 -0500 | |
---|---|---|
committer | 2018-10-21 10:46:39 -0400 | |
commit | 10bbd235859bf483f9a8a4ebe95463d700bae394 (patch) | |
tree | 6507459427fbf719c2839a8cba627bfd6a128538 /fs/btrfs | |
parent | mm: Convert is_page_cache_freeable to XArray (diff) | |
download | linux-10bbd235859bf483f9a8a4ebe95463d700bae394.tar.gz linux-10bbd235859bf483f9a8a4ebe95463d700bae394.tar.bz2 linux-10bbd235859bf483f9a8a4ebe95463d700bae394.zip |
pagevec: Use xa_mark_t
Removes sparse warnings.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 4dd6faab02bb..fc7ca7d991ad 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -3778,7 +3778,7 @@ int btree_write_cache_pages(struct address_space *mapping, pgoff_t index; pgoff_t end; /* Inclusive */ int scanned = 0; - int tag; + xa_mark_t tag; pagevec_init(&pvec); if (wbc->range_cyclic) { @@ -3903,7 +3903,7 @@ static int extent_write_cache_pages(struct address_space *mapping, pgoff_t done_index; int range_whole = 0; int scanned = 0; - int tag; + xa_mark_t tag; /* * We have to hold onto the inode so that ordered extents can do their |