projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UPSTREAM: clk: rockchip: release io resource when failing to init clk
[firefly-linux-kernel-4.4.55.git]
/
fs
/
exofs
/
inode.c
diff --git
a/fs/exofs/inode.c
b/fs/exofs/inode.c
index 73c64daa0f5517b4ff8271bd17e25740bb83d506..60f03b78914e3012e50c90a9e9069aff615467be 100644
(file)
--- 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)
}
unlock_page(page);
}
- if (PageDirty(page) || PageWriteback(page))
- *uptodate = true;
- else
- *uptodate = PageUptodate(page);
+ *uptodate = PageUptodate(page);
EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate);
return page;
} else {