Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64718
b: refs/heads/master
c: 265c1fa
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Tim Shimmin committed Sep 5, 2007
1 parent f21eb1a commit 0c6bfb1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: ee5c80239d5f152d99f69165afbd115518353563
refs/heads/master: 265c1fac38e37e828df09965406e9cc20bfa3588
8 changes: 4 additions & 4 deletions trunk/fs/xfs/linux-2.6/xfs_aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ xfs_probe_cluster(

for (i = 0; i < pagevec_count(&pvec); i++) {
struct page *page = pvec.pages[i];
size_t pg_offset, len = 0;
size_t pg_offset, pg_len = 0;

if (tindex == tlast) {
pg_offset =
Expand All @@ -665,16 +665,16 @@ xfs_probe_cluster(
pg_offset = PAGE_CACHE_SIZE;

if (page->index == tindex && !TestSetPageLocked(page)) {
len = xfs_probe_page(page, pg_offset, mapped);
pg_len = xfs_probe_page(page, pg_offset, mapped);
unlock_page(page);
}

if (!len) {
if (!pg_len) {
done = 1;
break;
}

total += len;
total += pg_len;
tindex++;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/fs/xfs/xfs_da_btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,6 @@ xfs_da_do_buf(
error = mappedbno == -2 ? 0 : XFS_ERROR(EFSCORRUPTED);
if (unlikely(error == EFSCORRUPTED)) {
if (xfs_error_level >= XFS_ERRLEVEL_LOW) {
int i;
cmn_err(CE_ALERT, "xfs_da_do_buf: bno %lld\n",
(long long)bno);
cmn_err(CE_ALERT, "dir: inode %lld\n",
Expand Down

0 comments on commit 0c6bfb1

Please sign in to comment.