summaryrefslogtreecommitdiffstats
path: root/fs/nls/nls_cp860.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2006-05-24 07:43:38 -0500
committerDave Kleikamp <shaggy@austin.ibm.com>2006-05-24 07:43:38 -0500
commitb964638ffd59b61c13f02b81e5118a6e573d91cd (patch)
tree118ab6ba3bceab3ab39d7d22070d03af2ace6f18 /fs/nls/nls_cp860.c
parent387e2b0439026aa738a9edca15a57e5c0bcb4dfc (diff)
downloadop-kernel-dev-b964638ffd59b61c13f02b81e5118a6e573d91cd.zip
op-kernel-dev-b964638ffd59b61c13f02b81e5118a6e573d91cd.tar.gz
JFS: Fix multiple errors in metapage_releasepage
It looks like metapage_releasepage was making in invalid assumption that the releasepage method would not be called on a dirty page. Instead of issuing a warning and releasing the metapage, it should return 0, indicating that the private data for the page cannot be released. I also realized that metapage_releasepage had the return code all wrong. If it is successful in releasing the private data, it should return 1, otherwise it needs to return 0. Lastly, there is no need to call wait_on_page_writeback, since try_to_release_page will not call us with a page in writback state. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/nls/nls_cp860.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud