diff options
Diffstat (limited to 'fs/exofs/inode.c')
| -rw-r--r-- | fs/exofs/inode.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 73c64daa0f55..60f03b78914e 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c | |||
| @@ -592,10 +592,7 @@ static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) | |||
| 592 | } | 592 | } |
| 593 | unlock_page(page); | 593 | unlock_page(page); |
| 594 | } | 594 | } |
| 595 | if (PageDirty(page) || PageWriteback(page)) | 595 | *uptodate = PageUptodate(page); |
| 596 | *uptodate = true; | ||
| 597 | else | ||
| 598 | *uptodate = PageUptodate(page); | ||
| 599 | EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate); | 596 | EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate); |
| 600 | return page; | 597 | return page; |
| 601 | } else { | 598 | } else { |
