summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2005-07-14 15:15:39 -0500
committerDave Kleikamp <shaggy@austin.ibm.com>2005-07-14 15:15:39 -0500
commit00be3e7e5cc3ca80e035b387e883d5ec10d7b897 (patch)
tree916ae70cead5b9a15afe2e6cc9f453b153e8bf3e /fs/jfs
parentba460e48064edeb57e3398eb8972c58de33f11ea (diff)
downloadop-kernel-dev-00be3e7e5cc3ca80e035b387e883d5ec10d7b897.zip
op-kernel-dev-00be3e7e5cc3ca80e035b387e883d5ec10d7b897.tar.gz
JFS: Remove bogus WARN_ON statement and some dead code
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/jfs_metapage.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c
index 6c5485d..8cb803b 100644
--- a/fs/jfs/jfs_metapage.c
+++ b/fs/jfs/jfs_metapage.c
@@ -561,7 +561,6 @@ static int metapage_releasepage(struct page *page, int gfp_mask)
dump_mem("page", page, sizeof(struct page));
dump_stack();
}
- WARN_ON(mp->lsn);
if (mp->lsn)
remove_from_logsync(mp);
remove_metapage(page, mp);
@@ -783,14 +782,6 @@ void release_metapage(struct metapage * mp)
if (test_bit(META_discard, &mp->flag) && !mp->count) {
clear_page_dirty(page);
ClearPageUptodate(page);
-#ifdef _NOT_YET
- if (page->mapping) {
- /* Remove from page cache and page cache reference */
- remove_from_page_cache(page);
- page_cache_release(page);
- metapage_releasepage(page, 0);
- }
-#endif
}
#else
/* Try to keep metapages from using up too much memory */
OpenPOWER on IntegriCloud