Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28560
b: refs/heads/master
c: f893afb
h: refs/heads/master
v: v3
  • Loading branch information
Anton Altaparmakov authored and Linus Torvalds committed Jun 22, 2006
1 parent e11612c commit f4753f7
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 5d2170ad1092b2940138dc3ae4a944d7bf87ae9e
refs/heads/master: f893afbe1262e27e91234506f72e17716190dd2f
13 changes: 7 additions & 6 deletions trunk/fs/ntfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,14 +1484,15 @@ static inline void ntfs_flush_dcache_pages(struct page **pages,
unsigned nr_pages)
{
BUG_ON(!nr_pages);
/*
* Warning: Do not do the decrement at the same time as the call to
* flush_dcache_page() because it is a NULL macro on i386 and hence the
* decrement never happens so the loop never terminates.
*/
do {
/*
* Warning: Do not do the decrement at the same time as the
* call because flush_dcache_page() is a NULL macro on i386
* and hence the decrement never happens.
*/
--nr_pages;
flush_dcache_page(pages[nr_pages]);
} while (--nr_pages > 0);
} while (nr_pages > 0);
}

/**
Expand Down

0 comments on commit f4753f7

Please sign in to comment.