diff options
author | Prasad Joshi <prasadjoshi.linux@gmail.com> | 2011-11-26 11:00:47 +0530 |
---|---|---|
committer | Prasad Joshi <prasadjoshi.linux@gmail.com> | 2012-01-28 11:23:10 +0530 |
commit | 96150606e2fb82d242c9e4a414e4e922849f7bf7 (patch) | |
tree | efdb8a85b5838aa13e6c233ebec580c1f956be5d /fs/pnode.h | |
parent | f423fc627b05f47bc9305f9661630fce30f208f9 (diff) |
logfs: update page reference count for pined pages
LogFS sets PG_private flag to indicate a pined page. We assumed that
marking a page as private is enough to ensure its existence. But
instead it is necessary to hold a reference count to the page.
The change resolves the following BUG
BUG: Bad page state in process flush-253:16 pfn:6a6d0
page flags: 0x100000000000808(uptodate|private)
Suggested-and-Acked-by: Joern Engel <joern@logfs.org>
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions