linux-stable-rt/fs/jfs
Dave Kleikamp b964638ffd 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>
2006-05-24 07:43:38 -05:00
..
Makefile
acl.c
endian24.h
file.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
inode.c [PATCH] remove ->get_blocks() support 2006-03-26 08:57:01 -08:00
ioctl.c
jfs_acl.h
jfs_btree.h
jfs_debug.c
jfs_debug.h
jfs_dinode.h
jfs_dmap.c
jfs_dmap.h
jfs_dtree.c
jfs_dtree.h
jfs_extent.c
jfs_extent.h
jfs_filsys.h
jfs_imap.c
jfs_imap.h
jfs_incore.h
jfs_inode.c
jfs_inode.h [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
jfs_lock.h
jfs_logmgr.c [PATCH] sem2mutex: fs/ 2006-03-26 08:56:55 -08:00
jfs_logmgr.h
jfs_metapage.c JFS: Fix multiple errors in metapage_releasepage 2006-05-24 07:43:38 -05:00
jfs_metapage.h
jfs_mount.c
jfs_superblock.h
jfs_txnmgr.c
jfs_txnmgr.h
jfs_types.h
jfs_umount.c
jfs_unicode.c
jfs_unicode.h
jfs_uniupr.c
jfs_xattr.h
jfs_xtree.c
jfs_xtree.h
namei.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
resize.c
super.c [PATCH] cpuset memory spread: slab cache format 2006-03-24 07:33:23 -08:00
symlink.c
xattr.c